ALL THE WAY TO DECISIONS DONE

This commit is contained in:
Fishedotjpg 2026-12-03 19:01:47 +00:00
parent 359420bc6b
commit d758b987c9
112 changed files with 20676 additions and 14484 deletions

View file

@ -82,6 +82,7 @@ diarch_attempt_to_overthrow_liege = {
gui = "decision_view_widget_option_list_generic"
controller = decision_option_list_controller
decision_to_second_step_button = "diarch_attempt_to_overthrow_liege.second_step"
show_from_start = yes
# Diplomacy Coup.
item = {

View file

@ -48,7 +48,7 @@ embrace_celibacy_decision = {
add_trait = celibate
}
stress_impact = {
stress_and_fulfillment_impact = {
lustful = major_stress_impact_gain
lifestyle_reveler = medium_stress_impact_gain
}
@ -270,12 +270,15 @@ extort_subjects_decision = {
cooldown = { days = @extort_subjects_cooldown_time }
is_shown = {
is_landless_adventurer = no
OR = {
has_perk = it_is_my_domain_perk
has_character_modifier = fp3_justification_for_taxation_modifier
has_character_modifier = fp3_excuses_for_extortion_modifier
}
NOR = {
government_has_flag = government_is_republic
government_has_flag = government_uses_landless_lifestyle_perks # Adventurers and merchants should not have this
}
}
is_valid_showing_failures_only = {
@ -308,7 +311,7 @@ extort_subjects_decision = {
days = { 3 5 }
}
stress_impact = {
stress_and_fulfillment_impact = {
generous = major_stress_gain
}
}
@ -385,7 +388,6 @@ commission_epic_decision = {
is_shown = {
is_landed = yes
exists = house
OR = {
has_perk = writing_history_perk
# AND = {
@ -396,6 +398,7 @@ commission_epic_decision = {
# }
# }
}
exists = house
is_landless_adventurer = no
}
@ -570,6 +573,12 @@ local_arbitration_decision = {
}
multiply = 3
}
if = {
limit = {
highest_held_title_tier = tier_hegemony
}
multiply = 4
}
}
}

View file

@ -2164,11 +2164,19 @@ unity_merchant_promote_diligence_decision = {
modifier = merchant_family_mobilization_promote_diligence_modifier
years = 5
}
house = {
set_variable = {
name = unity_merchant_promote_diligence_decision_cooldown
years = 10
}
}
}
house = {
set_variable = {
name = unity_merchant_promote_diligence_decision_cooldown
years = merchant_promote_diligence_decision_cooldown_years_value
else = {
house = {
set_variable = {
name = unity_merchant_promote_diligence_decision_cooldown
years = 20
}
}
}
}

View file

@ -904,7 +904,13 @@ isolate_family_decision = {
limit = { capital_province ?= location }
add_legitimacy_effect = { LEGITIMACY = minor_legitimacy_loss }
}
add_prestige = major_prestige_loss
if = {
limit = { is_landed = yes }
add_prestige = {
value = tier_scaled_prestige_value
multiply = -1
}
}
}
hidden_effect = {
set_variable = isolated_due_to_disaster
@ -918,7 +924,13 @@ isolate_family_decision = {
show_as_tooltip = {
isolate_family_decision_effect = yes
add_legitimacy_effect = { LEGITIMACY = minor_legitimacy_loss }
add_prestige = major_prestige_loss
if = {
limit = { is_landed = yes }
add_prestige = {
value = tier_scaled_prestige_value
multiply = -1
}
}
}
hidden_effect = {
trigger_event = epidemic_events.0100

View file

@ -109,8 +109,8 @@ diplomacy_oath_2_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = diplomacy_oath_2
has_variable = diplomacy_oath_2_timer
has_variable = diplomacy_oath_2
}
is_valid_showing_failures_only = {
@ -178,8 +178,8 @@ martial_oath_1_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = martial_oath_1
has_variable = martial_oath_1_timer
has_variable = martial_oath_1
var:oath_reconquest_title ?= { is_titular = no }
}
@ -225,7 +225,7 @@ martial_oath_2_decision = {
widget = {
controller = create_holy_order
barony_valid = {
title_valid = {
OR = {
this = scope:ruler.capital_barony
AND = {
@ -279,9 +279,9 @@ martial_oath_2_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = martial_oath_2
has_variable = martial_oath_2_timer
has_variable = oath_conquest_size
has_variable = martial_oath_2_timer
has_variable = martial_oath_2
}
is_valid_showing_failures_only = {
@ -455,9 +455,9 @@ stewardship_oath_2_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = stewardship_oath_2
has_variable = stewardship_oath_2_timer
has_variable = stewardship_oath_2_buildings
has_variable = stewardship_oath_2
}
is_valid_showing_failures_only = {
@ -537,7 +537,7 @@ learning_oath_1_decision = {
widget = {
controller = create_holy_order
barony_valid = {
title_valid = {
trigger_if = {
limit = {
scope:ruler = {
@ -588,8 +588,8 @@ learning_oath_1_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = learning_oath_1
has_variable = learning_oath_1_timer
has_variable = learning_oath_1
}
is_valid_showing_failures_only = {
@ -789,9 +789,9 @@ purge_pretenders_oath_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = purge_pretenders_oath
has_variable = purge_pretenders_oath_timer
has_variable = purge_pretenders_target_title
has_variable = purge_pretenders_oath_timer
has_variable = purge_pretenders_oath
}
is_valid_showing_failures_only = {
@ -867,7 +867,7 @@ purge_pretenders_oath_decision = {
if = {
limit = {
government_has_flag = government_is_administrative
government_has_mechanic = administrative
}
show_as_tooltip = {
house ?= {
@ -1144,10 +1144,10 @@ greatest_hunter_oath_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = greatest_hunter_oath
has_variable = greatest_hunter_oath_l_counter
has_variable = greatest_hunter_oath_r_counter
has_variable = greatest_hunter_oath_timer
has_variable = greatest_hunter_oath_l_counter
has_variable = greatest_hunter_oath
}
is_valid_showing_failures_only = {
@ -1248,8 +1248,8 @@ heir_preparation_oath_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = heir_preparation_oath
has_variable = heir_preparation_oath_timer
exists = root.house
has_variable = heir_preparation_oath_timer
}
is_valid_showing_failures_only = {
@ -1326,9 +1326,9 @@ install_claimants_oath_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = install_claimants_oath
has_variable = install_claimants_oath_timer
has_variable = install_claimants_oath_counter
has_variable = install_claimants_oath_timer
has_variable = install_claimants_oath
}
is_valid_showing_failures_only = {
@ -1430,9 +1430,9 @@ mend_the_fracture_oath_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = mend_the_fracture_oath
has_variable = mend_the_fracture_oath_timer
has_variable = mend_the_fracture_oath_target_culture
has_variable = mend_the_fracture_oath_timer
has_variable = mend_the_fracture_oath
}
is_valid_showing_failures_only = {
@ -1503,8 +1503,8 @@ provide_for_the_warriors_oath_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = provide_for_the_warriors_oath
has_variable = provide_for_the_warriors_oath_timer
has_variable = provide_for_the_warriors_oath
}
is_valid_showing_failures_only = {
@ -1690,8 +1690,8 @@ repent_oath_decision = {
is_shown = {
highest_held_title_tier >= tier_kingdom
has_variable = repent_oath
has_variable = repent_oath_timer
has_variable = repent_oath
}
is_valid_showing_failures_only = {
@ -1743,8 +1743,8 @@ repent_oath_decision = {
category = personality
if = {
limit = {
root.faith = {
trait_is_virtue = prev
root.rite = {
trait_is_virtue_rite = prev
}
}
add_to_list = number_of_viable_personality_virtue_traits
@ -1754,8 +1754,8 @@ repent_oath_decision = {
every_character_trait = {
if = {
limit = {
root.faith = {
trait_is_sin = prev
root.rite = {
trait_is_sin_rite = prev
}
}
if = {
@ -1803,8 +1803,8 @@ repent_oath_decision = {
}
random_trait = {
limit = {
root.faith = {
trait_is_virtue = prev
root.rite = {
trait_is_virtue_rite = prev
}
NOT = {
root = {

View file

@ -9,16 +9,16 @@ convert_to_local_culture_decision = {
is_shown = {
is_playable_character = yes
exists = capital_province
primary_title.tier > tier_barony
culture != capital_province.culture
NAND = {
is_ai = yes
OR = {
has_character_flag = converted_culture_this_lifetime
has_character_flag = converted_culture_this_lifetime_ai
has_variable = {
name = converted_culture_this_lifetime
name = converted_culture_this_lifetime_ai
}
}
NOT = { government_has_flag = government_is_landless_minority }
primary_title.tier > tier_barony
}
is_valid_showing_failures_only = {
@ -179,6 +179,7 @@ convert_to_local_culture_decision = {
exists = capital_province
culture != capital_province.culture
is_landless_adventurer = no
is_governor = no
}
ai_will_do = {
@ -495,9 +496,9 @@ assimilate_local_traditions_decision = {
culture != capital_province.culture
NAND = {
is_ai = yes
OR = {
has_character_flag = converted_culture_this_lifetime
has_character_flag = converted_culture_this_lifetime_ai
has_variable = {
name = converted_culture_this_lifetime
name = converted_culture_this_lifetime_ai
}
}
}

View file

@ -106,12 +106,12 @@ proselytize_to_your_people_decision = {
selection_tooltip = proselytize_to_your_people_decision_tooltip
is_shown = {
is_playable_character = yes
government_has_flag = government_is_nomadic
exists = domicile.domicile_faith
exists = domicile.domicile_rite
NOT = {
faith = domicile.domicile_faith
rite = domicile.domicile_rite
}
is_playable_character = yes
}
is_valid_showing_failures_only = {
@ -125,7 +125,7 @@ proselytize_to_your_people_decision = {
add = major_piety_value
if = { # Cost increases if you're trying to revert to unreformed
limit = {
domicile.domicile_faith = {
domicile.domicile_faith ?= {
NOT = { has_doctrine_parameter = unreformed }
}
faith = {
@ -141,9 +141,9 @@ proselytize_to_your_people_decision = {
effect = {
root.domicile.domicile_culture = { save_scope_as = domicile_culture }
domicile = {
set_domicile_faith = root.faith
set_domicile_rite = root.rite
}
stress_impact = {
stress_and_fulfillment_impact = {
cynical = medium_stress_impact_gain
}
every_held_title = {
@ -152,7 +152,7 @@ proselytize_to_your_people_decision = {
is_landless_type_title = no
culture = scope:domicile_culture
}
set_county_faith = root.faith
set_county_rite = root.rite
}
# Spouses convert
every_spouse = {
@ -172,7 +172,7 @@ proselytize_to_your_people_decision = {
}
every_in_list = {
list = spouses_and_family_to_convert
set_character_faith = root.faith
set_character_rite = root.rite
}
}
@ -195,7 +195,7 @@ proselytize_to_your_people_decision = {
}
}
### Convert to [ROOT.Char.GetDomicile.GetFaith.GetNameNoTooltip] through your People ###
### Convert to [ROOT.Char.GetDomicile.GetRite.GetNameNoTooltip] through your People ###
adopt_domicile_faith_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
@ -205,12 +205,12 @@ adopt_domicile_faith_decision = {
selection_tooltip = adopt_domicile_faith_decision_tooltip
is_shown = {
is_playable_character = yes
government_has_flag = government_is_nomadic
exists = domicile.domicile_faith
exists = domicile.domicile_rite
NOT = {
faith = domicile.domicile_faith
rite = domicile.domicile_rite
}
is_playable_character = yes
}
is_valid_showing_failures_only = {
@ -219,15 +219,15 @@ adopt_domicile_faith_decision = {
}
effect = {
set_character_faith = root.domicile.domicile_faith
stress_impact = {
set_character_rite = root.domicile.domicile_rite
stress_and_fulfillment_impact = {
zealous = major_stress_impact_gain
}
# Spouses convert
every_spouse = {
limit = {
is_courtier_of = root
NOT = { faith = root.domicile.domicile_faith }
NOT = { rite = root.domicile.domicile_rite }
}
add_to_list = spouses_and_family_to_convert
}
@ -235,22 +235,22 @@ adopt_domicile_faith_decision = {
every_close_or_extended_family_member = {
limit = {
is_courtier_of = root
NOT = { faith = root.domicile.domicile_faith }
NOT = { rite = root.domicile.domicile_rite }
}
add_to_list = spouses_and_family_to_convert
}
every_in_list = {
list = spouses_and_family_to_convert
set_character_faith = root.domicile.domicile_faith
set_character_rite = root.domicile.domicile_rite
}
every_held_title = {
limit = {
tier = tier_county
is_landless_type_title = no
culture = root.domicile.domicile_culture
NOT = { faith = root.domicile.domicile_faith }
NOT = { rite = root.domicile.domicile_rite }
}
set_county_faith = root.domicile.domicile_faith
set_county_rite = root.domicile.domicile_rite
}
}
@ -283,12 +283,12 @@ adopt_domicile_culture_decision = {
selection_tooltip = adopt_domicile_culture_decision_tooltip
is_shown = {
is_playable_character = yes
government_has_flag = government_is_nomadic
exists = domicile.domicile_culture
NOT = {
culture = domicile.domicile_culture
}
is_playable_character = yes
}
is_valid_showing_failures_only = {
@ -301,15 +301,16 @@ adopt_domicile_culture_decision = {
}
effect = {
culture = { save_temporary_scope_as = old_culture }
set_culture = root.domicile.domicile_culture
stress_impact = {
stress_and_fulfillment_impact = {
arrogant = medium_stress_impact_gain
}
# Family at court convert
every_close_or_extended_family_member = {
limit = {
is_courtier_of = root
culture = root.culture
culture = scope:old_culture
}
add_to_list = spouses_and_family_to_convert
}
@ -347,11 +348,11 @@ blend_traditions_decision = {
selection_tooltip = blend_traditions_decision_tooltip
is_shown = {
is_playable_character = yes
government_has_flag = government_is_nomadic
exists = domicile.domicile_culture
culture != domicile.domicile_culture
game_rule_can_create_hybird_culture_trigger = yes
culture != domicile.domicile_culture
is_playable_character = yes
}
is_valid_showing_failures_only = {
@ -495,12 +496,12 @@ enforce_traditions_decision = {
selection_tooltip = enforce_traditions_decision_tooltip
is_shown = {
is_playable_character = yes
government_has_flag = government_is_nomadic
exists = domicile.domicile_culture
NOT = {
culture = domicile.domicile_culture
}
is_playable_character = yes
}
is_valid_showing_failures_only = {
@ -533,7 +534,7 @@ enforce_traditions_decision = {
domicile = {
set_domicile_culture = root.culture
}
stress_impact = {
stress_and_fulfillment_impact = {
humble = medium_stress_impact_gain
}
every_held_title = {

View file

@ -39,6 +39,7 @@ recruit_from_nomadic_capital_decision = {
gui = "decision_view_widget_option_list_generic"
controller = decision_option_list_controller
decision_to_second_step_button = "CHOOSE_NOMAD_COURTIER_DECISION_NEXT_STEP_BUTTON"
show_from_start = yes
item = {
value = recruit_hunters_decision
@ -215,7 +216,7 @@ summon_fair_courtiers_decision = {
hegemony = 48
}
picture = {
reference = "gfx/interface/illustrations/event_scenes/mpo_city_steppe.dds"
reference = "gfx/interface/illustrations/event_scenes/mpo_city_steppe.dds"
}
sort_order = 100
decision_group_type = courtier
@ -246,6 +247,7 @@ summon_fair_courtiers_decision = {
gui = "decision_view_widget_option_list_generic"
controller = decision_option_list_controller
decision_to_second_step_button = "CHOOSE_SUMMON_FAIR_COURTIERS_DECISION_NEXT_STEP_BUTTON"
show_from_start = yes
item = {
value = summon_maidens_decision

File diff suppressed because it is too large Load diff

View file

@ -187,6 +187,9 @@ petition_liege_decision = {
days = standard_petition_liege_cooldown_time
}
# Cooldown is set on departure by petition_liege_start
cooldown_on_execute = no
is_shown = {
liege ?= { has_royal_court = yes }
is_playable_character = yes
@ -422,6 +425,7 @@ petition_liege_decision = {
gui = "decision_view_widget_petition_liege"
controller = decision_option_list_controller
decision_to_second_step_button = "CHOOSE_PETITION_DECISION_NEXT_STEP_BUTTON"
show_from_start = yes
### TGP
item = { # House Fief

View file

@ -126,6 +126,7 @@ pay_homage_decision = {
gui = "decision_view_widget_pay_homage"
controller = decision_option_list_controller
decision_to_second_step_button = "PAY_HOMAGE_DECISION_NEXT_STEP_BUTTON"
show_from_start = yes
item = { # Submission
value = pay_homage_submission

View file

@ -86,6 +86,7 @@ pledge_loyalty_to_liege_decision = {
gui = "decision_view_widget_pay_homage"
controller = decision_option_list_controller
decision_to_second_step_button = "pledge_loyalty_to_liege_DECISION_NEXT_STEP_BUTTON"
show_from_start = yes
item = { # Submission
value = pledge_loyalty_to_liege_submission
@ -427,6 +428,9 @@ petition_ceremonial_liege_decision = {
days = standard_petition_liege_cooldown_time
}
# Cooldown is set on departure by petition_ceremonial_liege_departure
cooldown_on_execute = no
is_shown = {
tgp_is_ceremonial_petition_shown_trigger = yes
has_dlc_feature = royal_court
@ -443,6 +447,7 @@ 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"
show_from_start = yes
item = { # Regent endorsement
value = petition_ceremonial_liege_regent
@ -527,12 +532,14 @@ petition_ceremonial_liege_decision = {
if = {
limit = { location = scope:ceremonial_liege.capital_province }
trigger_event = { on_action = petition_ceremonial_liege_start }
trigger_event = { on_action = petition_ceremonial_liege_departure }
trigger_event = petition_liege.9020
}
else = {
trigger_event = { on_action = petition_ceremonial_liege_start }
start_travel_plan = {
destination = scope:ceremonial_liege.capital_province
on_start_on_action = petition_ceremonial_liege_departure
on_travel_planner_cancel_on_action = petition_ceremonial_liege_travel_planner_exit
on_arrival_event = petition_liege.9020
on_arrival_destinations = all_but_last

View file

@ -51,11 +51,11 @@ convert_to_feudalism_liege_converted_decision = {
is_shown = {
government_has_flag = government_is_tribal
liege = {
liege ?= {
OR = {
government_has_flag = government_is_japan_feudal
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
government_has_flag = government_is_japan_feudal
}
}
}
@ -171,14 +171,14 @@ convert_clan_to_feudalism_through_liege_decision = {
is_shown = {
government_has_flag = government_is_clan
top_liege != this
liege = {
liege ?= {
government_has_flag = government_is_feudal
}
top_liege != this
}
is_valid = {
custom_description = {
custom_tooltip = {
text = same_faith_as_liege
OR = {
religion = liege.religion
@ -190,7 +190,7 @@ convert_clan_to_feudalism_through_liege_decision = {
}
}
}
custom_description = {
custom_tooltip = {
text = same_culture_as_liege
OR = {
culture = liege.culture
@ -262,13 +262,13 @@ convert_feudalism_to_clan_through_liege_decision = {
is_shown = {
government_has_flag = government_is_feudal
top_liege != this
liege = {
liege ?= {
government_has_flag = government_is_clan
}
}
is_valid = {
custom_description = {
custom_tooltip = {
text = same_faith_as_liege
OR = {
religion = liege.religion
@ -280,7 +280,7 @@ convert_feudalism_to_clan_through_liege_decision = {
}
}
}
custom_description = {
custom_tooltip = {
text = same_culture_as_liege
OR = {
culture = liege.culture
@ -365,15 +365,13 @@ convert_whole_realm_to_feudalism_decision = {
is_shown = {
government_has_flag = government_is_tribal
OR = {
top_liege = this
AND = {
top_liege != this
liege = {
NOR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
}
trigger_if = {
limit = { top_liege != this }
liege = {
NOR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
government_has_flag = government_is_japan_feudal
}
}
}
@ -445,13 +443,6 @@ convert_whole_realm_to_feudalism_decision = {
}
}
}
trigger_if = {
limit = {
government_has_flag = government_is_wanua
is_ai = yes
}
faith = { has_doctrine = doctrine_monotheist }
}
}
is_valid_showing_failures_only = {
@ -482,7 +473,7 @@ convert_whole_realm_to_feudalism_decision = {
}
ai_potential = {
NOT = { mpo_has_gok_mongol_empire_trigger = yes } #Stop the Mongols from slowing their conquest.
NOT = { mpo_has_gok_mongol_empire_trigger = yes } #Stop the Mongols from slowing their conquest.
}
ai_will_do = {
@ -516,20 +507,20 @@ convert_to_tribalism_decision = {
is_shown = {
is_landed = yes
primary_title.tier >= tier_county
NOT = {
any_held_title = {
title_tier = county
title_province = {
NOT = { has_holding_type = tribal_holding }
}
}
}
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
government_has_flag = government_is_mandala
}
NOT = {
any_held_title = {
title_tier = county
title_province ?= {
NOT = { has_holding_type = tribal_holding }
}
}
}
primary_title.tier >= tier_county
}
is_valid = {
@ -693,6 +684,7 @@ convert_whole_realm_to_feudalism_west_african_pagan_decision = {
# by (probably) Mathilda Bjarnehed
##################################################
### Consecrate Bloodline ###
declare_bloodline_holy_decision = {
picture = {
trigger = {
@ -844,22 +836,18 @@ strengthen_bloodline_decision = {
is_shown = {
is_lowborn = no
NOT = {
dynasty = {
has_dynasty_modifier = strong_blood
}
}
is_landed = yes
OR = {
has_trait = intellect_good
has_trait = beauty_good
has_trait = physique_good
has_trait = beauty_good
any_child = {
dynasty = root.dynasty
OR = {
has_trait = intellect_good
has_trait = beauty_good
has_trait = physique_good
}
dynasty ?= root.dynasty
}
AND = {
player_heir ?= {
@ -871,7 +859,11 @@ strengthen_bloodline_decision = {
}
}
}
is_landless_adventurer = no
NOT = {
dynasty = {
has_dynasty_modifier = strong_blood
}
}
}
is_valid = {
@ -964,6 +956,13 @@ dynasty_of_many_crowns_decision = {
}
}
highest_held_title_tier >= tier_kingdom
dynasty = {
any_dynasty_member = {
count >= 2
is_independent_ruler = yes
highest_held_title_tier >= tier_kingdom
}
}
}
is_valid = {
@ -1056,6 +1055,7 @@ found_kingdom_decision = {
hegemony = 0
}
desc = found_kingdom_decision_desc
sort_order = 75
is_shown = {
highest_held_title_tier = tier_duchy
@ -1063,9 +1063,49 @@ found_kingdom_decision = {
has_game_rule = off_custom_kingdoms
}
is_landed_or_landless_administrative = yes
NOT = { government_has_flag = government_is_republic }
is_confederation_member = no
}
#Titles outside your realm that you can choose to add
widget = {
gui = "decision_view_widget_option_list_generic"
controller = decision_option_list_controller
decision_to_second_step_button = "CHOOSE_ADDITIONAL_DUCHIES_DECISION_NEXT_STEP_BUTTON"
item = { # Newly-exclaved duchies
value = newly_exclaved_duchies
is_valid = {
custom_tooltip = {
text = consecrate_kingdom_exclave_duchies_available_tt
any_sub_realm_county = {
kingdom = {
any_direct_de_jure_vassal_title = {
pam_custom_kingdom_can_claim_duchy_exclave_trigger = { NEW_KING = root }
}
}
}
}
}
current_description = newly_exclaved_duchies_decision
localization = newly_exclaved_duchies_decision
ai_chance = {
value = 100
}
}
item = { # Only Sub-Realm Duchies
value = only_sub_realm_duchies
is_valid = {
always = yes
}
current_description = only_sub_realm_duchies_decision
localization = only_sub_realm_duchies_decision
ai_chance = {
value = 0
}
}
}
is_valid = {
prestige_level >= 3
top_liege = this
@ -1089,6 +1129,21 @@ found_kingdom_decision = {
has_realm_law = nomadic_authority_3
}
}
trigger_if = {
limit = {
any_held_title = {
tier = tier_duchy
is_landless_type_title = yes
}
}
custom_tooltip = {
text = any_landed_duchy_title_tt
any_held_title = {
tier = tier_duchy
is_landless_type_title = no
}
}
}
}
is_valid_showing_failures_only = {
@ -1118,7 +1173,7 @@ found_kingdom_decision = {
multiply = 0
}
}
prestige = 500
prestige = 750
piety = {
value = 200
if = {
@ -1192,11 +1247,51 @@ found_empire_decision = {
hegemony = 0
}
desc = found_empire_decision_desc
sort_order = 75
#Titles outside your realm that you can choose to add
widget = {
gui = "decision_view_widget_option_list_generic"
controller = decision_option_list_controller
decision_to_second_step_button = "CHOOSE_ADDITIONAL_KINGDOMS_DECISION_NEXT_STEP_BUTTON"
item = { # Newly-exclaved kingdoms
value = newly_exclaved_kingdoms
is_valid = {
custom_tooltip = {
text = consecrate_kingdom_exclave_kingdoms_available_tt
any_sub_realm_county = {
empire = {
any_direct_de_jure_vassal_title = {
pam_custom_empire_can_claim_kingdom_exclave_trigger = { NEW_EMPEROR = root }
}
}
}
}
}
current_description = newly_exclaved_kingdoms_decision
localization = newly_exclaved_kingdoms_decision
ai_chance = {
value = 100
}
}
item = { # Only Sub-Realm Kingdoms
value = only_sub_realm_kingdoms
is_valid = {
always = yes
}
current_description = only_sub_realm_kingdoms_decision
localization = only_sub_realm_kingdoms_decision
ai_chance = {
value = 0
}
}
}
is_shown = {
highest_held_title_tier = tier_kingdom
OR = {
top_liege = this
top_liege ?= this
any_held_title = {
count >= 3
title_tier = kingdom
@ -1256,8 +1351,53 @@ found_empire_decision = {
}
}
trigger_if = {
limit = {
exists = struggle:iberian_struggle
# only display the condition for people from relevant faiths and cultures
struggle:iberian_struggle = {
OR = {
is_culture_involved_in_struggle = root.culture
is_faith_involved_in_struggle = root.faith
}
}
# and living nearby
any_realm_county = {
title_province = {
OR = {
geographical_region = ghw_region_north_africa
geographical_region = world_europe_west
geographical_region = world_europe_south
}
}
}
}
custom_description = {
text = found_empire_decision_not_part_of_iberian_struggle
NOT = {
any_character_struggle = {
is_struggle_type = iberian_struggle
}
}
}
}
rule_title_creation_imperial_power_projection_title_creation_trigger = yes
trigger_if = {
limit = {
any_held_title = {
tier = tier_kingdom
is_landless_type_title = yes
}
}
custom_tooltip = {
text = any_landed_duchy_title_tt
any_held_title = {
tier = tier_kingdom
is_landless_type_title = no
}
}
}
}
is_valid_showing_failures_only = {
@ -1288,7 +1428,7 @@ found_empire_decision = {
multiply = 0
}
}
prestige = 2000
prestige = 2500
piety = {
value = 600
if = {
@ -1383,7 +1523,7 @@ adopt_special_succession_decision = {
special_succession_jirga_trigger = yes
}
AND = {
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
highest_held_title_tier >= tier_kingdom
has_realm_law_flag = partition_succession_law
any_held_title = {
@ -1629,9 +1769,9 @@ accept_cannibalism_decision = {
is_shown = {
is_cannibal_trigger = yes
NOR = { #Snacking on people should be frowned upon
faith = { has_doctrine_parameter = cannibalism_legal }
faith = { has_variable = accepted_cannibalism }
faith.religious_head = root
faith.religious_head ?= root
faith ?= { has_variable = accepted_cannibalism }
rite ?= { rite_has_parameter = cannibalism_legal }
}
}
@ -2116,7 +2256,7 @@ lunatic_building_decision = {
is_shown = {
has_trait = lunatic
has_character_flag = glass_dream
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
exists = capital_province
NOT = {
is_target_in_global_variable_list = {
@ -2126,6 +2266,19 @@ lunatic_building_decision = {
}
}
widget = {
controller = create_holy_order
title_valid = {
trigger_if = {
limit = { exists = this }
title_province = { has_special_district_slot = no }
is_capital_barony = yes
holder = scope:ruler
is_leased_out = no
}
}
}
is_valid = {
prestige_level >= 2
}
@ -2136,10 +2289,8 @@ lunatic_building_decision = {
}
effect = {
scope:barony.title_province = { save_scope_as = lunatic_province }
save_scope_as = builder
root.cp:councillor_court_chaplain = {
save_scope_as = court_chaplain
}
show_as_tooltip = { lunatic_building_decision_effect = yes }
trigger_event = major_decisions.3001
@ -2303,8 +2454,7 @@ repay_loan_decision = {
is_valid_showing_failures_only = {
is_available_quick = {
adult = yes
incapable = no
imprisoned = no
}
custom_tooltip = {
text = repay_loan_decision_afford_any_tt
@ -2759,7 +2909,7 @@ expand_duchy_decision = {
widget = {
controller = create_holy_order
barony_valid = {
title_valid = {
scope:ruler = {
trigger_if = {
limit = {
@ -2801,15 +2951,7 @@ expand_duchy_decision = {
}
is_shown = {
save_temporary_scope_as = root_scope_temporary
highest_held_title_tier >= tier_duchy
OR = {
AND = {
is_ai = no
has_game_rule = on_custom_duchies_player
}
has_game_rule = on_custom_duchies
}
is_landed_or_landless_administrative = yes
NOT = { government_has_flag = government_is_republic }
trigger_if = {
@ -2830,7 +2972,15 @@ expand_duchy_decision = {
save_temporary_scope_as = duchy_title
}
}
scope:duchy_title = {
OR = {
has_game_rule = on_custom_duchies
AND = {
is_ai = no
has_game_rule = on_custom_duchies_player
}
}
save_temporary_scope_as = root_scope_temporary
scope:duchy_title ?= {
any_de_jure_county = {
count < expand_duchy_max_size_value
}
@ -3004,7 +3154,7 @@ set_de_jure_capital_decision = {
}
picture = {
trigger = {
government_is_japanese_trigger = yes
government_is_japanese_trigger = yes
}
reference = "gfx/interface/illustrations/holding_types/tgp_city_japan.dds"
}
@ -3293,24 +3443,8 @@ set_de_jure_capital_decision = {
limit = {
scope:set_duchy_capital = yes
}
}
scope:old_capital ?= {
duchy = { save_scope_as = current_duchy }
title:d_laamp_zolt = {
save_scope_as = placeholder_duchy
}
scope:current_duchy = {
every_de_jure_county = {
limit = {
NOT = { this = root.capital_county }
}
set_de_jure_liege_title = scope:placeholder_duchy
add_to_list = correction_list
}
}
every_in_list = {
list = correction_list
set_de_jure_liege_title = scope:current_duchy
root.capital_barony = {
set_as_duchy_capital = yes
}
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -39,6 +39,7 @@ choose_designated_terrain_decision = {
decision_group_type = major
is_shown = {
NOT = { government_has_flag = government_is_merchant }
OR = {
is_landed = no
government_has_flag = government_is_nomadic

View file

@ -484,11 +484,13 @@ legendary_conversion = {
remove_character_flag = major_religious_inspiration
random_sub_realm_county = { # Give em a freebie
set_county_faith = root.faith
set_county_rite = root.rite
}
every_sub_realm_county = {
random = {
chance = 50
set_county_faith = root.faith
set_county_rite = root.rite
}
}
}

View file

@ -20,9 +20,9 @@ hold_triumph_decision = {
decision_group_type = roman
is_shown = {
has_ep3_dlc_trigger = yes
culture ?= { has_cultural_parameter = holds_triumphs }
is_roman_emperor_trigger = yes
culture = { has_cultural_parameter = holds_triumphs }
has_ep3_dlc_trigger = yes
}
is_valid = {
@ -32,10 +32,7 @@ hold_triumph_decision = {
}
is_valid_showing_failures_only = {
is_alive = yes
is_available_healthy_adult = yes
NOT = { exists = involved_activity }
is_imprisoned = no
}
cost = {
@ -43,7 +40,7 @@ hold_triumph_decision = {
value = 0
if = {
limit = {
NOR = {
NOR = {
has_treasury = yes
has_character_flag = free_triumph_flag
}
@ -1623,7 +1620,7 @@ hold_triumph_decision = {
# }
#
# is_valid_showing_failures_only = {
# NOT = { exists = involved_activity }
# is_in_activity = no
# is_imprisoned = no
# any_powerful_family = { }
# }
@ -1717,18 +1714,17 @@ change_state_faith = {
is_shown = {
has_ep3_dlc_trigger = yes
government_allows = state_faith
exists = primary_title.state_faith
faith != primary_title.state_faith
exists = primary_title.state_rite
rite != primary_title.state_rite
}
is_valid = {
government_allows = state_faith
NOT = { faith ?= top_liege.primary_title.state_faith }
NOT = { rite ?= top_liege.primary_title.state_rite }
}
is_valid_showing_failures_only = {
NOT = { exists = involved_activity }
is_imprisoned = no
is_available = yes
}
cost = {
@ -1798,17 +1794,26 @@ change_state_faith = {
effect = {
hidden_effect = {
primary_title.state_faith = { save_scope_as = old_faith }
root.faith = { save_scope_as = new_faith }
primary_title.state_rite = { save_scope_as = old_rite }
root.rite = { save_scope_as = new_rite }
create_character_memory = { type = changed_state_faith_memory }
scope:new_memory = {
set_variable = {
name = old_rite
value = scope:old_rite
}
set_variable = {
name = new_rite
value = scope:new_rite
}
# Keep old_faith/new_faith for savegame and non-English loc compatibility
set_variable = {
name = old_faith
value = scope:old_faith
value = scope:old_rite.faith
}
set_variable = {
name = new_faith
value = scope:new_faith
value = scope:new_rite.faith
}
set_variable = {
name = title
@ -1817,8 +1822,11 @@ change_state_faith = {
}
}
primary_title = { set_state_faith = root.faith }
capital_county = { set_county_faith = root.faith }
primary_title = {
set_state_rite = root.rite
pam_tenet_popularity_boost_rite_effect = { RITE = state_rite }
}
capital_county = { set_county_rite = root.rite }
# Some vassals who like you the most will convert
every_vassal = {
@ -1828,23 +1836,36 @@ change_state_faith = {
target = root
value >= 30
}
faith != root.faith
rite != root.rite
NOT = { has_vassal_stance = zealot }
is_ai = yes
# Mirror the conversion-rule gates the effect cannot pass
is_adult = yes
NOT = { faith.religious_head ?= this }
pam_is_antipope_trigger = no
}
hidden_effect = {
faith = { save_scope_as = old_faith }
root.faith = { save_scope_as = new_faith }
rite = { save_scope_as = old_rite }
root.rite = { save_scope_as = new_rite }
create_character_memory = { type = adopted_state_faith_memory }
scope:new_memory = {
set_variable = {
name = old_rite
value = scope:old_rite
}
set_variable = {
name = new_rite
value = scope:new_rite
}
# Savegame and non-English loc compatibility; do not rename or remove
set_variable = {
name = old_faith
value = scope:old_faith
value = scope:old_rite.faith
}
set_variable = {
name = new_faith
value = scope:new_faith
value = scope:new_rite.faith
}
set_variable = {
name = title
@ -1853,7 +1874,7 @@ change_state_faith = {
}
}
set_character_faith = root.faith
set_character_rite_with_conversion = root.rite
}
# Opinion malus with Zealot vassals
@ -1861,7 +1882,7 @@ change_state_faith = {
every_vassal = {
vassal_stance = zealot
limit = {
faith != root.faith
rite != root.rite
}
custom = every_zealot_vassal
add_opinion = {
@ -1886,7 +1907,7 @@ change_state_faith = {
ai_potential = {
government_has_flag = government_is_administrative
primary_title.tier >= tier_empire
faith != primary_title.state_faith
rite != primary_title.state_rite
}
ai_will_do = {
@ -1969,43 +1990,51 @@ adopt_state_faith = {
selection_tooltip = adopt_state_faith_decision_selection_tooltip
is_shown = {
top_liege ?= { government_allows = state_faith }
NOT = { rite ?= top_liege.primary_title.state_rite }
exists = top_liege.primary_title.state_rite
has_ep3_dlc_trigger = yes
top_liege = { government_allows = state_faith }
exists = top_liege.primary_title.state_faith
NOT = { faith ?= top_liege.primary_title.state_faith }
}
is_valid = {
top_liege = { government_allows = state_faith }
NOT = { faith ?= top_liege.primary_title.state_faith }
NOT = { rite ?= top_liege.primary_title.state_rite }
}
is_valid_showing_failures_only = {
NOT = {
custom_description = {
text = "is_in_an_activity"
exists = involved_activity
}
}
is_imprisoned = no
is_physically_able_adult = yes
is_in_activity = no
NOT = { faith.religious_head ?= root }
custom_tooltip = {
text = adopt_state_faith_heresy_cooldown_tt
NOT = { has_character_flag = embraced_heresy_recently }
}
}
cost = {}
effect = {
hidden_effect = {
faith = { save_scope_as = old_faith }
top_liege.faith = { save_scope_as = new_faith }
rite = { save_scope_as = old_rite }
top_liege.primary_title.state_rite = { save_scope_as = new_rite }
create_character_memory = { type = adopted_state_faith_memory }
scope:new_memory = {
set_variable = {
name = old_rite
value = scope:old_rite
}
set_variable = {
name = new_rite
value = scope:new_rite
}
# Savegame and non-English loc compatibility; do not rename or remove
set_variable = {
name = old_faith
value = scope:old_faith
value = scope:old_rite.faith
}
set_variable = {
name = new_faith
value = scope:new_faith
value = scope:new_rite.faith
}
set_variable = {
name = title
@ -2014,18 +2043,29 @@ adopt_state_faith = {
}
}
set_character_faith = top_liege.primary_title.state_faith
# Changing rite into another faith costs piety and can fail silently, so we change the faith first
if = {
limit = { NOT = { faith = top_liege.primary_title.state_rite.faith } }
set_character_faith_with_conversion = top_liege.primary_title.state_rite.faith
}
if = {
limit = { NOT = { rite = top_liege.primary_title.state_rite } }
set_character_rite_with_conversion = top_liege.primary_title.state_rite
}
if = {
limit = { NOT = { has_character_flag = adopted_state_faith } }
if = {
limit = { government_has_mechanic = administrative }
limit = { government_has_flag = government_has_influence }
change_influence = monumental_influence_gain
}
add_piety = massive_piety_gain
top_liege = {
if = {
limit = { faith = primary_title.state_faith }
limit = {
rite = primary_title.state_rite
this != root
}
add_opinion = {
target = root
modifier = converted_to_state_faith_opinion
@ -2035,7 +2075,7 @@ adopt_state_faith = {
every_vassal = {
custom = every_governor_of_state_faith
limit = {
faith = top_liege.primary_title.state_faith
rite = top_liege.primary_title.state_rite
this != root
}
add_opinion = {
@ -2050,10 +2090,9 @@ adopt_state_faith = {
}
ai_potential = {
government_has_flag = government_is_administrative
NOT = { has_trait = zealous } # A zealous vassal would presumably not want to change their faith
exists = top_liege.primary_title.state_faith
faith != top_liege.primary_title.state_faith
exists = top_liege.primary_title.state_rite
rite != top_liege.primary_title.state_rite
}
ai_will_do = {
@ -2062,7 +2101,7 @@ adopt_state_faith = {
is_governor = yes
add = 40
}
# Personality
modifier = {
is_governor = yes
@ -2097,39 +2136,39 @@ adopt_state_faith = {
has_trait = stubborn
add = -50
}
# Faith
modifier = { # More likely to switch away from an unreformed faith
faith ?= { has_doctrine_parameter = unreformed }
add = 20
}
modifier = { # Communal Identity make it more likely to adopt faith if they share same culture with the top liege
faith ?= { has_doctrine_parameter = same_culture_conversion_bonus_active }
rite ?= { rite_has_parameter = same_culture_conversion_bonus_active }
culture ?= top_liege.culture
add = 10
}
modifier = { # Some faith are more likely to be abandoned
faith ?= { has_doctrine_parameter = unattractive_for_character_conversions }
rite ?= { rite_has_parameter = unattractive_for_character_conversions }
add = 10
}
modifier = { # Don't adopt the state faith if you have the same faith as the top liege (if the emperor can have this faith, so can we!)
faith = top_liege.faith
modifier = { # Don't adopt the state faith if you have the same rite as the top liege (if the emperor can have this rite, so can we!)
rite = top_liege.rite
top_liege != this
factor = 0
}
# Other
modifier = {
has_vassal_stance = zealot
factor = 0.3
}
# Non-admin vassals only consider converting if their faith hostility is low enough
# Non-admin vassals only consider converting if their rite hostility is low enough
modifier = {
NOT = { government_has_flag = government_is_administrative }
faith ?= {
faith_hostility_level = {
target = root.top_liege.primary_title.state_faith
rite ?= {
rite_hostility_level = {
target = root.top_liege.primary_title.state_rite
value >= faith_hostile_level
}
}
@ -2150,7 +2189,7 @@ found_salon_decision = {
decision_group_type = adventurer
is_shown = {
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
has_trait = violet_poet
NOT = { #You can only do it once.
is_target_in_global_variable_list = {
@ -2372,23 +2411,21 @@ commission_icon_decision = {
cooldown = { days = standard_commission_artifact_cooldown_time }
sort_order = 150
decision_group_type = admin
is_shown = {
has_dlc_feature = roads_to_power
is_landed_or_landless_administrative = yes
is_landed_or_landless_administrative_or_theocratic = yes
OR = {
religion = religion:eastern_orthodox_religion
religion = religion:oriental_orthodox_religion
faith = faith:orthodox
faith ?= faith:orthodox
faiths_are_in_orthodox_christianity_group = { FAITH_1 = faith:orthodox FAITH_2 = root.faith }
}
faith_is_aniconic_trigger = no
has_dlc_feature = roads_to_power
}
is_valid_showing_failures_only = {
trigger_if = {
limit = {
government_has_mechanic = administrative
government_has_flag = government_has_estate
}
domicile ?= {
has_domicile_building_or_higher = temple_monastery_04
@ -2400,6 +2437,7 @@ commission_icon_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
@ -2412,7 +2450,8 @@ commission_icon_decision = {
widget = {
gui = "decision_view_widget_commission_artifact"
controller = decision_option_list_controller
decision_to_second_step_button = "COMMISSION_ARTIFACT_DECISION_NEXT_STEP_BUTTON"
decision_to_second_step_button = "COMMISSION_ARTIFACT_DECISION_NEXT_STEP_BUTTON"
show_from_start = yes
# Personal Artifacts are always valid to commission
item = {
@ -2586,7 +2625,7 @@ commission_icon_decision = {
empire = 36
hegemony = 36
}
ai_potential = {
is_at_war = no
ai_greed < medium_positive_ai_value
@ -2621,13 +2660,10 @@ embrace_heresy_decision = {
is_adult = yes
top_liege != this
top_liege ?= { is_ai = yes }
top_liege.primary_title.state_faith ?= {
OR = {
NOT = { has_doctrine = eastern_hostility_doctrine }
has_doctrine = heresy_hostility_doctrine #Zoroastrians also get heresies, despite being Eastern.
}
top_liege.primary_title.state_rite.faith ?= {
faith_can_have_heresy_trigger = yes
}
this != top_liege.primary_title.state_faith.religious_head
NOT = { this ?= top_liege.primary_title.state_rite.head_of_rite }
}
is_valid = {
@ -2655,8 +2691,6 @@ embrace_heresy_decision = {
}
is_valid_showing_failures_only = {
NOT = { exists = involved_activity }
is_imprisoned = no
is_available = yes
}
@ -2697,33 +2731,28 @@ push_heresy_as_state_faith = {
is_shown = {
government_allows = state_faith
is_adult = yes
top_liege != this
top_liege ?= { is_ai = yes }
top_liege.primary_title.state_faith ?= {
OR = {
NOT = { has_doctrine = eastern_hostility_doctrine }
has_doctrine = heresy_hostility_doctrine #Zoroastrians also get heresies, despite being Eastern.
}
}
NOR = {
this = top_liege.primary_title.state_faith.religious_head
faith = top_liege.primary_title.state_faith
}
has_variable = heresy_embraced
NOR = {
rite ?= top_liege.primary_title.state_rite
this ?= top_liege.primary_title.state_rite.head_of_rite
}
top_liege.primary_title.state_rite.faith ?= {
faith_can_have_heresy_trigger = yes
}
top_liege ?= { is_ai = yes }
top_liege != this
is_adult = yes
}
is_valid = {
custom_tooltip = {
text = has_embraced_heresy_tt
has_variable = heresy_embraced
faith = var:heresy_embraced
rite = var:heresy_embraced
}
}
is_valid_showing_failures_only = {
NOT = { exists = involved_activity }
is_imprisoned = no
is_available = yes
}
@ -2736,10 +2765,10 @@ push_heresy_as_state_faith = {
effect = {
custom_tooltip = try_to_push_faith_with_emperor_tt
save_scope_as = heretic
scope:heretic.faith = { save_scope_as = heresy }
scope:heretic.rite = { save_scope_as = heresy }
top_liege = {
trigger_event = {
id = ep3_decisions_event.5021
id = ep3_decisions_event.5021
days = 1
}
}
@ -2776,21 +2805,21 @@ establish_silk_production_decision = {
decision_group_type = admin
is_shown = {
has_ep3_dlc_trigger = yes
government_has_mechanic = administrative
domicile ?= {
is_domicile_type = estate
}
has_ep3_dlc_trigger = yes
OR = {
this = house.house_head
AND = {
is_ai = no
house.house_head = top_liege
house.house_head ?= top_liege
}
}
domicile ?= {
is_domicile_type = estate
top_liege ?= {
is_roman_emperor_primary_title_trigger = yes
}
# top_liege ?= {
# is_roman_emperor_primary_title_trigger = yes
## }
NOT = {
house = {
has_house_modifier = ep3_unlocked_silk
@ -2801,7 +2830,7 @@ establish_silk_production_decision = {
is_valid = {
trigger_if = {
limit = { top_liege = this }
# is_roman_emperor_trigger = yes
is_roman_emperor_trigger = yes
OR = {
has_realm_law = imperial_bureaucracy_2
has_realm_law = imperial_bureaucracy_3
@ -2836,7 +2865,8 @@ establish_silk_production_decision = {
}
send_interface_toast = {
type = msg_domicile_building_unlocked
title = unlocked_estate_silk_buildings_t
title = ep3_unlocked_silk
desc = unlocked_estate_silk_buildings_t
}
if = {
limit = {
@ -2889,7 +2919,7 @@ commission_silk_regalia_decision = {
desc = commission_silk_regalia_decision_desc
selection_tooltip = commission_silk_regalia_decision_tooltip
decision_group_type = admin
is_shown = {
has_dlc_feature = roads_to_power
government_has_mechanic = administrative
@ -2905,6 +2935,7 @@ commission_silk_regalia_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
@ -2987,7 +3018,7 @@ commission_silk_regalia_decision = {
empire = 60
hegemony = 60
}
ai_potential = {
is_at_war = no
ai_greed < medium_positive_ai_value
@ -3017,23 +3048,23 @@ foster_integration_decision = {
desc = foster_integration_decision_desc
selection_tooltip = foster_integration_decision_tooltip
decision_group_type = admin
is_shown = {
has_dlc_feature = roads_to_power
is_adult = yes
this = house.house_head
government_has_mechanic = administrative
domicile ?= {
is_domicile_type = estate
}
exists = top_liege
root.top_liege != root
OR = {
top_liege.primary_title = {
top_liege.primary_title ?= {
NOT = { is_de_jure_liege_or_above_target = root.domicile.domicile_location.county }
}
domicile.domicile_location.county.culture != root.top_liege.culture
}
has_dlc_feature = roads_to_power
is_adult = yes
this = house.house_head
exists = top_liege
}
is_valid = {
@ -3049,10 +3080,7 @@ foster_integration_decision = {
}
is_valid_showing_failures_only = {
NOT = { exists = involved_activity }
is_imprisoned = no
is_available = yes
is_at_war = no
}
cost = {
@ -3105,7 +3133,10 @@ foster_integration_decision = {
}
if = {
limit = {
top_liege = { is_ai = yes }
top_liege = {
is_ai = yes
this != root
}
}
top_liege = {
add_opinion = {
@ -3152,7 +3183,7 @@ foster_integration_decision = {
empire = 36
hegemony = 0
}
ai_potential = {
government_has_mechanic = administrative
exists = top_liege
@ -3187,7 +3218,7 @@ gather_faction_support_decision = {
desc = gather_faction_support_decision_desc
selection_tooltip = gather_faction_support_decision_tooltip
decision_group_type = admin
is_shown = {
has_dlc_feature = roads_to_power
government_has_mechanic = administrative
@ -3213,10 +3244,7 @@ gather_faction_support_decision = {
}
is_valid_showing_failures_only = {
NOT = { exists = involved_activity }
is_imprisoned = no
is_available = yes
is_at_war = no
is_available_at_peace = yes
}
cost = {
@ -3247,7 +3275,7 @@ gather_faction_support_decision = {
empire = 60
hegemony = 0
}
ai_potential = {
government_has_mechanic = administrative
exists = top_liege

View file

@ -701,9 +701,9 @@ favour_skilled_outsiders_decision = {
decision_group_type = courtier
is_shown = {
has_fp3_dlc_trigger = yes
is_landed = yes
favour_skilled_outsiders_decision_valid_character_to_take_trigger = yes
has_fp3_dlc_trigger = yes
}
is_valid = {
@ -721,6 +721,7 @@ favour_skilled_outsiders_decision = {
gui = "decision_view_widget_option_list_generic"
controller = decision_option_list_controller
decision_to_second_step_button = "favour_skilled_outsiders_decision.second_step"
show_from_start = yes
# Diplomacy-Martial: Eloquent Captains
item = {
@ -1109,16 +1110,16 @@ fp3_become_clan_government_decision = {
cost = { prestige = major_prestige_value }
is_shown = {
has_fp3_dlc_trigger = yes
# You are Feudal
government_has_flag = government_is_feudal
# Has a House and is not House Head
exists = house
house.house_head != root
# Religion is Islam (Clan)
religion = religion:islam_religion
religion ?= religion:islam_religion
has_fp3_dlc_trigger = yes
# House head is Clan
house.house_head = { government_has_flag = government_is_clan }
house.house_head ?= { government_has_flag = government_is_clan }
# Has a House and is not House Head
exists = house
}
is_valid = {

View file

@ -104,6 +104,7 @@ fp3_embellish_capital_decision = {
gui = "decision_view_widget_option_list_generic"
controller = decision_option_list_controller
decision_to_second_step_button = "CHOOSE_ARCHITECT_DECISION_NEXT_STEP_BUTTON"
show_from_start = yes
### Royal Architect
# Mausoleum

View file

@ -1,110 +1,120 @@
# NEOW: Hansa founding is intentionally disabled. Vanilla decision retained as comments.
# found_the_hanseatic_league_decision = {
# picture = {
# reference = "gfx/interface/illustrations/decisions/gdp_republic_trade_ships.dds"
# }
# decision_group_type = major
# sort_order = 100
found_the_hanseatic_league_decision = {
picture = {
reference = "gfx/interface/illustrations/decisions/gdp_republic_trade_ships.dds"
}
decision_group_type = major
sort_order = 100
# ai_check_interval_by_tier = {
# barony = 0
# county = 120
# duchy = 60
# kingdom = 30
# empire = 30
# hegemony = 30
# }
ai_check_interval_by_tier = {
barony = 0
county = 120
duchy = 60
kingdom = 30
empire = 30
hegemony = 30
}
# desc = found_the_hanseatic_league_decision_desc
# selection_tooltip = found_the_hanseatic_league_decision_tooltip
# confirm_text = found_the_hanseatic_league_decision_confirm
desc = found_the_hanseatic_league_decision_desc
selection_tooltip = found_the_hanseatic_league_decision_tooltip
confirm_text = found_the_hanseatic_league_decision_confirm
# is_shown = {
# confederation ?= {
# confederation_type = confederation_type:trade_league
# has_leading_title = yes
# leading_title = root.primary_title
# NOT = { has_variable = is_hanseatic_league }
# }
# capital_province ?= { geographical_region = hanseatic_trade_region }
# has_gdp_dlc_trigger = yes
# }
is_shown = {
government_has_flag = government_is_republic
capital_province ?= { geographical_region = hanseatic_trade_region }
NOT = {
confederation ?= { has_variable = is_hanseatic_league }
}
has_gdp_dlc_trigger = yes
}
# is_valid_showing_failures_only = {
# is_at_war = no
# custom_tooltip = {
# text = found_the_hanseatic_league_cohesion_tt
# confederation ?= {
# cohesion >= 95
# }
# }
# custom_tooltip = {
# text = found_the_hanseatic_league_members_tt
# confederation ?= {
# any_confederation_member = { count >= 4 }
# }
# }
# }
is_valid_showing_failures_only = {
is_at_war = no
gdp_is_trade_league_head_trigger = yes
custom_tooltip = {
text = found_the_hanseatic_league_cohesion_tt
confederation ?= {
cohesion >= 70
}
}
custom_tooltip = {
text = found_the_hanseatic_league_members_tt
confederation ?= {
any_confederation_member = { count >= 4 }
}
}
}
# cost = {
# gold = massive_gold_value
# prestige = massive_prestige_value
# }
cost = {
gold = massive_gold_value
prestige = {
value = massive_prestige_value
if = {
limit = { is_ai = yes }
value = 250
}
}
}
# effect = {
# save_scope_as = hanse_founder
# primary_title = { save_scope_as = hanse_lead_town }
effect = {
save_scope_as = hanse_founder
# confederation = {
# set_variable = is_hanseatic_league
# set_coa = k_hansa
if = {
limit = { exists = confederation }
# if = {
# limit = {
# NOT = {
# any_confederation = {
# has_variable = hanseatic_baltic_identity
# }
# }
# }
# set_variable = hanseatic_baltic_identity
# set_confederation_name = HANSEATIC_LEAGUE_NAME
# }
# else = {
# set_confederation_name = GENERIC_HANSE_NAME
# }
# }
confederation = {
leading_title ?= { save_scope_as = hanse_lead_town }
set_variable = is_hanseatic_league
set_coa = k_hansa
# hanseatic_elevate_all_members_effect = { LEAGUE = root.confederation }
if = {
limit = {
NOT = {
any_confederation = {
has_variable = hanseatic_baltic_identity
}
}
}
set_variable = hanseatic_baltic_identity
set_confederation_name = HANSEATIC_LEAGUE_NAME
}
else = {
set_confederation_name = GENERIC_HANSE_NAME
}
}
# add_prestige = major_prestige_gain
hanseatic_elevate_all_members_effect = { LEAGUE = root.confederation }
# add_achievement_global_variable_effect = {
# VARIABLE = ep5_14_league_of_ledgers_achievement_unlocked
# VALUE = yes
# }
add_prestige = major_prestige_gain
# hanseatic_ask_personal_monopoly_holders_effect = { LEAGUE = root.confederation }
add_achievement_global_variable_effect = {
VARIABLE = ep5_14_league_of_ledgers_achievement_unlocked
VALUE = yes
}
# every_player = {
# limit = {
# is_member_of_confederation = root.confederation
# }
# send_interface_message = {
# type = event_generic_good_text
# title = found_the_hanseatic_league_message_title
# desc = found_the_hanseatic_league_message_desc
# left_icon = root
# }
# }
# }
hanseatic_ask_personal_monopoly_holders_effect = { LEAGUE = root.confederation }
# ai_potential = {
# is_ai = yes
# is_ruler = yes
# }
every_player = {
limit = {
is_member_of_confederation = root.confederation
}
send_interface_message = {
type = event_generic_good_text
title = found_the_hanseatic_league_message_title
desc = found_the_hanseatic_league_message_desc
left_icon = root
}
}
}
}
# ai_will_do = {
# base = 100
# }
# }
ai_potential = {
is_ai = yes
is_ruler = yes
capital_province ?= { geographical_region = hanseatic_core_commune_region }
gdp_is_trade_league_head_trigger = yes
}
ai_will_do = {
base = 100
}
}

View file

@ -61,6 +61,11 @@ gdp_adopt_republic_government_decision = {
sub_realm_size < 25 # Large realm should just become admin instead
capital_province = {
province_size_level >= 3
OR = {
has_holding_type = city_holding
has_holding_type = castle_holding
has_holding_type = temple_citadel_holding
}
}
OR = {
is_independent_ruler = yes
@ -2631,6 +2636,7 @@ gdp_republic_recruit_talent_decision = {
template = trader_martial_template
culture = root.culture
faith = root.faith
rite = root.rite
dynasty = none
location = root.capital_province
save_scope_as = new_trader
@ -2647,6 +2653,7 @@ gdp_republic_recruit_talent_decision = {
template = trader_diplomacy_template
culture = root.culture
faith = root.faith
rite = root.rite
dynasty = none
location = root.capital_province
save_scope_as = new_trader
@ -2663,6 +2670,7 @@ gdp_republic_recruit_talent_decision = {
template = trader_stewardship_template
culture = root.culture
faith = root.faith
rite = root.rite
dynasty = none
location = root.capital_province
save_scope_as = new_trader
@ -4388,9 +4396,7 @@ gdp_war_approval_decree_decision = {
cooldown = { years = 5 }
cost = {
treasury_or_gold = {
value = total_republic_decree_gold_cost
}
prestige = total_republic_decree_prestige_cost
}
ai_check_interval_by_tier = {
@ -4523,8 +4529,10 @@ gdp_war_approval_decree_decision = {
}
ai_potential = {
this = liege # I.e. is independent
treasury > massive_treasury_value
OR = {
this = liege # I.e. is independent
ai_has_warlike_personality = yes
}
ai_has_cautious_personality = no
}
@ -4595,9 +4603,7 @@ gdp_quarantine_ship_decree_decision = {
cooldown = { years = 5 }
cost = {
treasury_or_gold = {
value = total_republic_decree_gold_cost
}
prestige = total_republic_decree_prestige_cost
}
ai_check_interval_by_tier = {

View file

@ -19,27 +19,15 @@ tgp_china_attend_child_exam_decision = {
}
is_shown = {
age >= child_exam_min_age
age <= 16
has_tgp_dlc_trigger = yes
has_domicile = yes
government_allows = merit
age >= child_exam_min_age
has_tgp_dlc_trigger = yes
is_playable_character = yes
NOT = { has_character_flag = passed_child_exam }
has_domicile = yes
is_landed = no
trigger_if = {
limit = {
faith = { has_doctrine = doctrine_gender_female_dominated }
}
is_female = yes
}
trigger_else_if = {
limit = {
faith = { has_doctrine = doctrine_gender_male_dominated }
}
is_female = no
}
trigger_else = { always = yes }
rite = { rite_has_dominant_ruling_gender = prev }
}
is_valid = {
@ -348,12 +336,12 @@ tgp_refuse_appointments_decision = {
is_shown = {
government_has_flag = government_has_merit
has_tgp_dlc_trigger = yes
this != top_liege
custom_tooltip = {
text = you_are_not_refusing_appointments_desc
appointment_timeout_days < 36500
}
has_tgp_dlc_trigger = yes
}
is_valid_showing_failures_only = {
@ -397,9 +385,9 @@ tgp_resume_appointments_decision = {
is_shown = {
government_has_flag = government_has_merit
appointment_timeout_days > 0
has_tgp_dlc_trigger = yes
this != top_liege
appointment_timeout_days > 0
}
is_valid_showing_failures_only = {
@ -923,10 +911,10 @@ tgp_china_study_confucian_classics_decision = {
}
is_shown = {
has_tgp_dlc_trigger = yes
government_allows = merit
is_playable_character = yes
NOT = { top_liege = root }
has_tgp_dlc_trigger = yes
}
is_valid = {
@ -1006,9 +994,7 @@ tgp_claim_the_mantle_of_maitreya_decision = {
cooldown = { years = 30 }
is_shown = {
faith = {
has_doctrine = tenet_extinction_of_dharma
}
has_personal_tenet_flag = awaiting_the_maitreya_savior
}
is_valid_showing_failures_only = {
@ -1025,6 +1011,7 @@ tgp_claim_the_mantle_of_maitreya_decision = {
is_independent_ruler = yes
capital_county.faith = root.faith
piety_level >= 5
spiritual_fulfillment >= spiritual_fulfillment_3
OR = {
has_trait = zealous
has_trait = peasant_leader
@ -1055,7 +1042,7 @@ tgp_claim_the_mantle_of_maitreya_decision = {
effect = {
faith = {
change_fervor = {
value = 100
value = massive_fervor_gain
desc = maitreya_has_descended_fervor_desc
}
}
@ -1164,7 +1151,7 @@ tgp_tea_ceremony_decision = {
# Lose stress
if = {
limit = { stress > 0 }
stress_impact = {
stress_and_fulfillment_impact = {
base = -25
content = medium_stress_impact_loss
humble = minor_stress_impact_loss
@ -1485,6 +1472,12 @@ extract_gold_from_treasury = {
}
reference = "gfx/interface/illustrations/decisions/tgp_scholars.dds"
}
picture = {
trigger = {
religion = religion:christianity_religion
}
reference = "gfx/interface/illustrations/decisions/decision_spend_money.dds"
}
picture = {
reference = "gfx/interface/illustrations/decisions/fp3_decision_tax_collector.dds"
}
@ -1506,12 +1499,22 @@ extract_gold_from_treasury = {
}
is_shown = {
is_playable_character = yes
has_treasury = yes
OR = {
is_independent_ruler = yes
tgp_is_any_minister = yes
AND = { # Independent non-Christian rulers
is_independent_ruler = yes
NOT = { government_has_flag = government_is_ecclesiastical }
}
tgp_is_any_minister = yes # Ministers of China
AND = { # Christian rulers during the SO/FU phases
government_has_flag = government_is_ecclesiastical
any_character_situation = {
situation_type = the_christian_church
}
top_participant_group:the_christian_church ?= { has_participant_group_parameter = the_christian_church_withdraw_funds_from_treasury_decision }
}
}
is_playable_character = yes
}
is_valid_showing_failures_only = {
@ -1529,6 +1532,19 @@ extract_gold_from_treasury = {
add_short_term_gold = medium_treasury_value
if = {
limit = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_withdraw_funds_from_treasury_decision
}
}
add_piety = major_piety_loss
add_character_modifier = {
modifier = pam_dipped_into_treasury_modifier
years = 3
}
pam_the_christian_church_clergy_withdrew_funds_from_treasury_catalyst_effect = yes
}
else_if = {
limit = {
is_valid_for_legitimacy_change = yes
}
@ -1570,10 +1586,46 @@ extract_gold_from_treasury = {
influence = {
value = 0
if = {
limit = { is_valid_for_legitimacy_change = no }
limit = {
is_valid_for_legitimacy_change = no
government_has_flag = government_has_influence
NOT = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_withdraw_funds_from_treasury_decision
}
}
}
add = massive_influence_value
}
}
piety = {
value = 0
if = {
limit = {
is_valid_for_legitimacy_change = no
government_has_flag = government_is_ecclesiastical
NOT = {
top_participant_group:the_christian_church ?= {
has_participant_group_parameter = the_christian_church_withdraw_funds_from_treasury_decision
}
}
}
add = massive_piety_value
}
}
prestige = {
value = 0
if = {
limit = {
is_valid_for_legitimacy_change = no
NOR = {
government_has_flag = government_is_ecclesiastical
government_has_flag = government_has_influence
}
}
add = massive_prestige_value
}
}
}
ai_potential = {

View file

@ -120,6 +120,7 @@ situation_dynastic_cycle_favor_own_culture_for_appointments = {
gui = "decision_view_widget_generic_multichoice_with_effects"
controller = decision_option_list_controller
decision_to_second_step_button = "SELECT_ACTION"
show_from_start = yes
### Favor your own culture
item = {
@ -2328,7 +2329,7 @@ favor_dynastic_cycle_era_decision = {
gui = "decision_view_widget_generic_multichoice_with_effects"
controller = decision_option_list_controller
decision_to_second_step_button = "SELECT_FAVOR_ERA"
show_from_start = no
show_from_start = yes
item = {
value = favor_advancement
@ -2431,7 +2432,7 @@ favor_movement_decision = {
gui = "decision_view_widget_generic_multichoice_with_effects"
controller = decision_option_list_controller
decision_to_second_step_button = "SELECT_FAVOR_MOVEMENT"
show_from_start = no
show_from_start = yes
item = {
value = advancement_movement

View file

@ -277,6 +277,7 @@ assimilate_to_mandala_decision = {
is_shown = {
is_landed = yes
highest_held_title_tier > tier_barony
NOT = { government_has_flag = government_is_merchant }
overlord ?= { government_has_flag = government_is_mandala }
NAND = {
government_has_flag = government_is_mandala
@ -436,6 +437,7 @@ assimilate_to_mandala_decision = {
}
ai_potential = {
is_landed = yes
this != top_overlord
overlord = { government_has_flag = government_is_mandala }
primary_title.tier > tier_barony
@ -456,7 +458,8 @@ assimilate_to_mandala_decision = {
}
overlord.mandala_radiance_value >= 10
}
NOT = {
NOR = {
government_has_flag = government_is_merchant
any_owned_story = {
OR = {
story_type = story_mongol_invasion

File diff suppressed because it is too large Load diff

View file

@ -142,6 +142,19 @@
nomad_convert_herds_to_treasury_or_gold_special_troops_effect = yes # we pay you back for your herd investments
nomad_to_steppe_admin_new_capital_effect = yes # we arrange a new capital for you the same way we would any other settling nomad
change_government = steppe_admin_government
primary_title = {
set_variable = {
name = newly_reformed_steppe_admin
years = 30
}
}
every_held_title = {
limit = { is_noble_family_title = yes }
set_variable = {
name = newly_reformed_steppe_admin
years = 30
}
}
give_noble_family_title = {
name = noble_family_name
tier = county

View file

@ -54,8 +54,10 @@ become_leading_house_of_the_confederation_decision = {
is_shown = {
debug_only = yes
exists = confederation
confederation.leading_house != root.house
confederation ?= {
is_house_based = yes
leading_house != root.house
}
}
effect = {