fixes
This commit is contained in:
parent
182a9f6a50
commit
807eea6477
11 changed files with 1803 additions and 1792 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1313,23 +1313,23 @@ secede_from_empire_decision = { #by Sean Hughes
|
|||
highest_held_title_tier = tier_kingdom
|
||||
}
|
||||
|
||||
modifier = {
|
||||
add = -35
|
||||
# Electors in the HRE are far less likely to seceede.
|
||||
liege.primary_title = title:e_hre
|
||||
title:e_hre = {
|
||||
has_title_law = princely_elective_succession_law
|
||||
any_elector = {
|
||||
this = root
|
||||
}
|
||||
}
|
||||
}
|
||||
# modifier = {
|
||||
# add = -35
|
||||
# # Electors in the HRE are far less likely to seceede.
|
||||
# liege.primary_title = title:e_hre
|
||||
# title:e_hre = {
|
||||
# has_title_law = princely_elective_succession_law
|
||||
# any_elector = {
|
||||
# this = root
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
modifier = {
|
||||
add = -60
|
||||
# Satraps of the Mongol Empire should (almost) never seceede.
|
||||
liege.primary_title = title:e_mongolia
|
||||
}
|
||||
# modifier = {
|
||||
# add = -60
|
||||
# # Satraps of the Mongol Empire should (almost) never seceede.
|
||||
# liege.primary_title = title:e_mongolia
|
||||
# }
|
||||
|
||||
# 'Soft' Modifiers, e.g., Opinion and Personality
|
||||
ai_value_modifier = {
|
||||
|
|
|
|||
|
|
@ -1268,313 +1268,313 @@
|
|||
# }
|
||||
#}
|
||||
#
|
||||
###################################
|
||||
# Build Pilgrim Roads
|
||||
# By Hugo Cortell
|
||||
###################################
|
||||
### Build Pilgrim Roads ###
|
||||
build_holy_pilgrim_roads_decision = {
|
||||
picture = {
|
||||
reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_opening.dds"
|
||||
}
|
||||
sort_order = 300
|
||||
decision_group_type = struggle
|
||||
|
||||
is_shown = {
|
||||
faith = {
|
||||
any_holy_site = {
|
||||
holder.top_liege = root
|
||||
count > 0
|
||||
}
|
||||
}
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
has_struggle_phase_parameter = unlocks_build_pilgrim_roads_decision
|
||||
}
|
||||
}
|
||||
|
||||
is_valid = {
|
||||
custom_tooltip = {
|
||||
text = build_holy_pilgrim_roads_decision_hardcoded_trigger_text.a
|
||||
faith = {
|
||||
any_holy_site = {
|
||||
holder.top_liege = root
|
||||
NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } }
|
||||
count > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
effect = {
|
||||
hidden_effect = {
|
||||
faith = {
|
||||
random_holy_site = {
|
||||
limit = {
|
||||
holder.top_liege = root
|
||||
NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } }
|
||||
}
|
||||
save_scope_as = chosen_holy_site_for_pilgrim_roads
|
||||
county = {
|
||||
save_scope_as = chosen_location_for_pilgrim_roads
|
||||
add_county_modifier = {
|
||||
modifier = fp2_pilgrim_roads_modifier
|
||||
years = 50
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = build_holy_pilgrim_roads_decision_construction_notif.t
|
||||
desc = build_holy_pilgrim_roads_decision_construction_notif.desc
|
||||
|
||||
add_piety = major_piety_gain
|
||||
show_as_tooltip = {
|
||||
scope:chosen_location_for_pilgrim_roads = {
|
||||
add_county_modifier = {
|
||||
modifier = fp2_pilgrim_roads_modifier
|
||||
years = 50
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = { # QA QoL
|
||||
limit = { debug_only = yes }
|
||||
custom_tooltip = debug_generic_option_shortened_trigger_can_disable
|
||||
hidden_effect = {
|
||||
random_list = {
|
||||
1 = {
|
||||
trigger_event = {
|
||||
id = iberia_north_africa.2011
|
||||
days = 4
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
trigger_event = {
|
||||
id = iberia_north_africa.2012
|
||||
days = 4
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
trigger_event = {
|
||||
id = iberia_north_africa.2013
|
||||
days = 4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
hidden_effect = {
|
||||
random_list = {
|
||||
1 = {
|
||||
trigger_event = {
|
||||
id = iberia_north_africa.2011
|
||||
days = { 32 2048 }
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
trigger_event = {
|
||||
id = iberia_north_africa.2012
|
||||
days = { 32 2048 }
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
trigger_event = {
|
||||
id = iberia_north_africa.2013
|
||||
days = { 32 2048 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cost = {
|
||||
gold = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = no
|
||||
}
|
||||
add = massive_gold_value
|
||||
}
|
||||
}
|
||||
treasury = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = yes
|
||||
}
|
||||
add = massive_gold_value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_check_interval_by_tier = {
|
||||
barony = 0
|
||||
county = 730
|
||||
duchy = 730
|
||||
kingdom = 730
|
||||
empire = 730
|
||||
hegemony = 730
|
||||
}
|
||||
ai_potential = {}
|
||||
ai_will_do = {
|
||||
base = 50
|
||||
modifier = {
|
||||
add = learning
|
||||
always = yes
|
||||
}
|
||||
modifier = {
|
||||
add = -50
|
||||
has_trait = cynical
|
||||
}
|
||||
modifier = {
|
||||
add = 10
|
||||
has_trait = zealous
|
||||
}
|
||||
modifier = {
|
||||
add = -40
|
||||
short_term_gold < massive_gold_value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#############################################
|
||||
# Found Kingdom of Toledo
|
||||
# by Joe Parkin
|
||||
#############################################
|
||||
### Found Kingdom Toledo Decision ###
|
||||
found_kingdom_toledo_decision = {
|
||||
title = found_kingdom_toledo_decision_title
|
||||
picture = {
|
||||
reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds"
|
||||
}
|
||||
desc = found_kingdom_toledo_decision_desc
|
||||
selection_tooltip = found_kingdom_toledo_decision_tooltip
|
||||
sort_order = 80
|
||||
|
||||
decision_group_type = major
|
||||
|
||||
is_shown = {
|
||||
# DLC check
|
||||
has_fp2_dlc_trigger = yes
|
||||
culture = { has_cultural_pillar = heritage_iberian }
|
||||
faith = {
|
||||
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church }
|
||||
}
|
||||
NOT = {
|
||||
is_target_in_global_variable_list = {
|
||||
name = unavailable_unique_decisions
|
||||
target = flag:form_toledo_decision
|
||||
}
|
||||
}
|
||||
title:e_spain = {
|
||||
any_in_de_jure_hierarchy = {
|
||||
any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo }
|
||||
de_jure_liege = {
|
||||
any_in_de_jure_hierarchy = {
|
||||
count > 2
|
||||
tier = tier_duchy
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid = {
|
||||
top_liege = this
|
||||
custom_tooltip = {
|
||||
text = found_kingdom_toledo_capital_tt
|
||||
capital_county = title:c_toledo
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = found_kingdom_toledo_culture_tt
|
||||
culture = { has_cultural_pillar = heritage_iberian }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = found_kingdom_toledo_faith_tt
|
||||
faith = {
|
||||
portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church }
|
||||
}
|
||||
}
|
||||
completely_controls = title:d_toledo
|
||||
custom_tooltip = {
|
||||
text = found_kingdom_toledo_duchy_tt
|
||||
any_held_title = {
|
||||
title_tier = duchy
|
||||
is_titular = no
|
||||
NOT = { this = title:d_toledo }
|
||||
root = { completely_controls = prev }
|
||||
any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
is_landed = yes
|
||||
}
|
||||
|
||||
cost = {
|
||||
gold = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = no
|
||||
}
|
||||
add = 250
|
||||
}
|
||||
}
|
||||
treasury = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = yes
|
||||
}
|
||||
add = 250
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
effect = {
|
||||
save_scope_as = toledo_former
|
||||
gain_heroic_legend_seed_tooltip_effect = yes
|
||||
fp2_struggle_found_kingdom_toledo_empire_effect = yes
|
||||
save_scope_value_as = {
|
||||
name = has_kingdom_toledo_absorb_list_been_created
|
||||
value = yes
|
||||
}
|
||||
trigger_event = fp2_other_decisions.1100
|
||||
#Can only happen once
|
||||
add_to_global_variable_list = {
|
||||
name = unavailable_unique_decisions
|
||||
target = flag:form_toledo_decision
|
||||
}
|
||||
set_global_variable = {
|
||||
name = form_toledo_decision
|
||||
value = scope:toledo_former
|
||||
}
|
||||
}
|
||||
ai_check_interval_by_tier = {
|
||||
barony = 0
|
||||
county = 0
|
||||
duchy = 120
|
||||
kingdom = 120
|
||||
empire = 120
|
||||
hegemony = 120
|
||||
}
|
||||
|
||||
ai_potential = {}
|
||||
|
||||
ai_will_do = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
||||
####################################
|
||||
## Build Pilgrim Roads
|
||||
## By Hugo Cortell
|
||||
####################################
|
||||
#### Build Pilgrim Roads ###
|
||||
#build_holy_pilgrim_roads_decision = {
|
||||
# picture = {
|
||||
# reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_opening.dds"
|
||||
# }
|
||||
# sort_order = 300
|
||||
# decision_group_type = struggle
|
||||
#
|
||||
# is_shown = {
|
||||
# faith = {
|
||||
# any_holy_site = {
|
||||
# holder.top_liege = root
|
||||
# count > 0
|
||||
# }
|
||||
# }
|
||||
# any_character_struggle = {
|
||||
# involvement = involved
|
||||
# has_struggle_phase_parameter = unlocks_build_pilgrim_roads_decision
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# is_valid = {
|
||||
# custom_tooltip = {
|
||||
# text = build_holy_pilgrim_roads_decision_hardcoded_trigger_text.a
|
||||
# faith = {
|
||||
# any_holy_site = {
|
||||
# holder.top_liege = root
|
||||
# NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } }
|
||||
# count > 0
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# effect = {
|
||||
# hidden_effect = {
|
||||
# faith = {
|
||||
# random_holy_site = {
|
||||
# limit = {
|
||||
# holder.top_liege = root
|
||||
# NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } }
|
||||
# }
|
||||
# save_scope_as = chosen_holy_site_for_pilgrim_roads
|
||||
# county = {
|
||||
# save_scope_as = chosen_location_for_pilgrim_roads
|
||||
# add_county_modifier = {
|
||||
# modifier = fp2_pilgrim_roads_modifier
|
||||
# years = 50
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# send_interface_toast = {
|
||||
# type = event_toast_effect_good
|
||||
# title = build_holy_pilgrim_roads_decision_construction_notif.t
|
||||
# desc = build_holy_pilgrim_roads_decision_construction_notif.desc
|
||||
#
|
||||
# add_piety = major_piety_gain
|
||||
# show_as_tooltip = {
|
||||
# scope:chosen_location_for_pilgrim_roads = {
|
||||
# add_county_modifier = {
|
||||
# modifier = fp2_pilgrim_roads_modifier
|
||||
# years = 50
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# if = { # QA QoL
|
||||
# limit = { debug_only = yes }
|
||||
# custom_tooltip = debug_generic_option_shortened_trigger_can_disable
|
||||
# hidden_effect = {
|
||||
# random_list = {
|
||||
# 1 = {
|
||||
# trigger_event = {
|
||||
# id = iberia_north_africa.2011
|
||||
# days = 4
|
||||
# }
|
||||
# }
|
||||
# 1 = {
|
||||
# trigger_event = {
|
||||
# id = iberia_north_africa.2012
|
||||
# days = 4
|
||||
# }
|
||||
# }
|
||||
# 1 = {
|
||||
# trigger_event = {
|
||||
# id = iberia_north_africa.2013
|
||||
# days = 4
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
# hidden_effect = {
|
||||
# random_list = {
|
||||
# 1 = {
|
||||
# trigger_event = {
|
||||
# id = iberia_north_africa.2011
|
||||
# days = { 32 2048 }
|
||||
# }
|
||||
# }
|
||||
# 1 = {
|
||||
# trigger_event = {
|
||||
# id = iberia_north_africa.2012
|
||||
# days = { 32 2048 }
|
||||
# }
|
||||
# }
|
||||
# 1 = {
|
||||
# trigger_event = {
|
||||
# id = iberia_north_africa.2013
|
||||
# days = { 32 2048 }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# cost = {
|
||||
# gold = {
|
||||
# value = 0
|
||||
# if = {
|
||||
# limit = {
|
||||
# has_treasury = no
|
||||
# }
|
||||
# add = massive_gold_value
|
||||
# }
|
||||
# }
|
||||
# treasury = {
|
||||
# value = 0
|
||||
# if = {
|
||||
# limit = {
|
||||
# has_treasury = yes
|
||||
# }
|
||||
# add = massive_gold_value
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# ai_check_interval_by_tier = {
|
||||
# barony = 0
|
||||
# county = 730
|
||||
# duchy = 730
|
||||
# kingdom = 730
|
||||
# empire = 730
|
||||
# hegemony = 730
|
||||
# }
|
||||
# ai_potential = {}
|
||||
# ai_will_do = {
|
||||
# base = 50
|
||||
# modifier = {
|
||||
# add = learning
|
||||
# always = yes
|
||||
# }
|
||||
# modifier = {
|
||||
# add = -50
|
||||
# has_trait = cynical
|
||||
# }
|
||||
# modifier = {
|
||||
# add = 10
|
||||
# has_trait = zealous
|
||||
# }
|
||||
# modifier = {
|
||||
# add = -40
|
||||
# short_term_gold < massive_gold_value
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
#
|
||||
##############################################
|
||||
## Found Kingdom of Toledo
|
||||
## by Joe Parkin
|
||||
##############################################
|
||||
#### Found Kingdom Toledo Decision ###
|
||||
#found_kingdom_toledo_decision = {
|
||||
# title = found_kingdom_toledo_decision_title
|
||||
# picture = {
|
||||
# reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds"
|
||||
# }
|
||||
# desc = found_kingdom_toledo_decision_desc
|
||||
# selection_tooltip = found_kingdom_toledo_decision_tooltip
|
||||
# sort_order = 80
|
||||
#
|
||||
# decision_group_type = major
|
||||
#
|
||||
# is_shown = {
|
||||
# # DLC check
|
||||
# has_fp2_dlc_trigger = yes
|
||||
# culture = { has_cultural_pillar = heritage_iberian }
|
||||
# faith = {
|
||||
# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church }
|
||||
# }
|
||||
# NOT = {
|
||||
# is_target_in_global_variable_list = {
|
||||
# name = unavailable_unique_decisions
|
||||
# target = flag:form_toledo_decision
|
||||
# }
|
||||
# }
|
||||
# title:e_spain = {
|
||||
# any_in_de_jure_hierarchy = {
|
||||
# any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo }
|
||||
# de_jure_liege = {
|
||||
# any_in_de_jure_hierarchy = {
|
||||
# count > 2
|
||||
# tier = tier_duchy
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# is_valid = {
|
||||
# top_liege = this
|
||||
# custom_tooltip = {
|
||||
# text = found_kingdom_toledo_capital_tt
|
||||
# capital_county = title:c_toledo
|
||||
# }
|
||||
# custom_tooltip = {
|
||||
# text = found_kingdom_toledo_culture_tt
|
||||
# culture = { has_cultural_pillar = heritage_iberian }
|
||||
# }
|
||||
# custom_tooltip = {
|
||||
# text = found_kingdom_toledo_faith_tt
|
||||
# faith = {
|
||||
# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church }
|
||||
# }
|
||||
# }
|
||||
# completely_controls = title:d_toledo
|
||||
# custom_tooltip = {
|
||||
# text = found_kingdom_toledo_duchy_tt
|
||||
# any_held_title = {
|
||||
# title_tier = duchy
|
||||
# is_titular = no
|
||||
# NOT = { this = title:d_toledo }
|
||||
# root = { completely_controls = prev }
|
||||
# any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# is_valid_showing_failures_only = {
|
||||
# is_landed = yes
|
||||
# }
|
||||
#
|
||||
# cost = {
|
||||
# gold = {
|
||||
# value = 0
|
||||
# if = {
|
||||
# limit = {
|
||||
# has_treasury = no
|
||||
# }
|
||||
# add = 250
|
||||
# }
|
||||
# }
|
||||
# treasury = {
|
||||
# value = 0
|
||||
# if = {
|
||||
# limit = {
|
||||
# has_treasury = yes
|
||||
# }
|
||||
# add = 250
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# effect = {
|
||||
# save_scope_as = toledo_former
|
||||
# gain_heroic_legend_seed_tooltip_effect = yes
|
||||
# fp2_struggle_found_kingdom_toledo_empire_effect = yes
|
||||
# save_scope_value_as = {
|
||||
# name = has_kingdom_toledo_absorb_list_been_created
|
||||
# value = yes
|
||||
# }
|
||||
# trigger_event = fp2_other_decisions.1100
|
||||
# #Can only happen once
|
||||
# add_to_global_variable_list = {
|
||||
# name = unavailable_unique_decisions
|
||||
# target = flag:form_toledo_decision
|
||||
# }
|
||||
# set_global_variable = {
|
||||
# name = form_toledo_decision
|
||||
# value = scope:toledo_former
|
||||
# }
|
||||
# }
|
||||
# ai_check_interval_by_tier = {
|
||||
# barony = 0
|
||||
# county = 0
|
||||
# duchy = 120
|
||||
# kingdom = 120
|
||||
# empire = 120
|
||||
# hegemony = 120
|
||||
# }
|
||||
#
|
||||
# ai_potential = {}
|
||||
#
|
||||
# ai_will_do = {
|
||||
# base = 100
|
||||
# }
|
||||
#}
|
||||
#
|
||||
#############################################
|
||||
# Develop a city
|
||||
# by Maxence Voleau
|
||||
|
|
|
|||
|
|
@ -134,35 +134,35 @@ destroy_the_magi_decision = { #This allows a ruler with sufficient piety and con
|
|||
}
|
||||
title = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
AND = {
|
||||
religion = religion:zoroastrianism_religion
|
||||
OR = {
|
||||
has_faith = faith:mazdakism
|
||||
has_faith = faith:zurvanism
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = destroy_the_magi_decision_alternate
|
||||
}
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# AND = {
|
||||
# religion = religion:zoroastrianism_religion
|
||||
# OR = {
|
||||
# has_faith = faith:mazdakism
|
||||
# has_faith = faith:zurvanism
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# desc = destroy_the_magi_decision_alternate
|
||||
# }
|
||||
desc = destroy_the_magi_decision
|
||||
}
|
||||
}
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
AND = {
|
||||
religion = religion:zoroastrianism_religion
|
||||
OR = {
|
||||
has_faith = faith:mazdakism
|
||||
has_faith = faith:zurvanism
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = destroy_the_magi_decision_alternate_desc
|
||||
}
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# AND = {
|
||||
# religion = religion:zoroastrianism_religion
|
||||
# OR = {
|
||||
# has_faith = faith:mazdakism
|
||||
# has_faith = faith:zurvanism
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# desc = destroy_the_magi_decision_alternate_desc
|
||||
# }
|
||||
desc = destroy_the_magi_decision_desc
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3151,18 +3151,18 @@ mpo_become_greatest_of_khans_decision = {
|
|||
|
||||
desc = {
|
||||
desc = mpo_become_greatest_of_khans_decision_desc
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
NOR = {
|
||||
#Playing as Genghis
|
||||
this = character:125501
|
||||
#He came and went without becoming Genghis
|
||||
exists = global_var:genghis_died
|
||||
has_game_rule = never_mongol_invasion
|
||||
}
|
||||
}
|
||||
desc = mpo_become_greatest_of_khans_decision_genghis_warning
|
||||
}
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# NOR = {
|
||||
# #Playing as Genghis
|
||||
# this = character:125501
|
||||
# #He came and went without becoming Genghis
|
||||
# exists = global_var:genghis_died
|
||||
# has_game_rule = never_mongol_invasion
|
||||
# }
|
||||
# }
|
||||
# desc = mpo_become_greatest_of_khans_decision_genghis_warning
|
||||
# }
|
||||
}
|
||||
|
||||
cooldown = {
|
||||
|
|
@ -3227,7 +3227,8 @@ mpo_become_greatest_of_khans_decision = {
|
|||
highest_held_title_tier = tier_empire
|
||||
trigger_if = { # If you are player Temüjin we waive this requirements
|
||||
limit = {
|
||||
NOT = { this = character:125501 }
|
||||
# NOT = { this = character:125501 }
|
||||
always = yes
|
||||
}
|
||||
OR = {
|
||||
sub_realm_size >= mpo_greatest_of_khans_target_counties
|
||||
|
|
@ -3391,19 +3392,19 @@ mpo_become_greatest_of_khans_decision = {
|
|||
}
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
is_ai = no
|
||||
this = character:125501 # Temüjin
|
||||
has_variable = had_mpo_temujin_flavor_0020
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = temujin_jamukha_gok_requirement
|
||||
character:mpo_mongol_1 = { # Jamukha
|
||||
is_alive = no
|
||||
}
|
||||
}
|
||||
}
|
||||
# trigger_if = {
|
||||
# limit = {
|
||||
# is_ai = no
|
||||
# this = character:125501 # Temüjin
|
||||
# has_variable = had_mpo_temujin_flavor_0020
|
||||
# }
|
||||
# custom_tooltip = {
|
||||
# text = temujin_jamukha_gok_requirement
|
||||
# character:mpo_mongol_1 = { # Jamukha
|
||||
# is_alive = no
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
|
|
@ -5223,13 +5224,13 @@ settle_people_decision = {
|
|||
has_trait = content
|
||||
domicile.herd <= 500
|
||||
is_independent_ruler = no
|
||||
AND = {
|
||||
culture = { has_cultural_pillar = heritage_magyar }
|
||||
OR = {
|
||||
has_title = title:k_hungary
|
||||
has_title = title:e_carpathia
|
||||
}
|
||||
}
|
||||
# AND = {
|
||||
# culture = { has_cultural_pillar = heritage_magyar }
|
||||
# OR = {
|
||||
# has_title = title:k_hungary
|
||||
# has_title = title:e_carpathia
|
||||
# }
|
||||
# }
|
||||
NOT = {
|
||||
any_sub_realm_county = {
|
||||
title_province = {
|
||||
|
|
@ -5330,15 +5331,15 @@ settle_people_decision = {
|
|||
has_trait = ambitious
|
||||
}
|
||||
|
||||
# Hungarians want to settle
|
||||
modifier = {
|
||||
add = 1000
|
||||
culture = { has_cultural_pillar = heritage_magyar }
|
||||
OR = {
|
||||
has_title = title:k_hungary
|
||||
has_title = title:e_carpathia
|
||||
}
|
||||
}
|
||||
# # Hungarians want to settle
|
||||
# modifier = {
|
||||
# add = 1000
|
||||
# culture = { has_cultural_pillar = heritage_magyar }
|
||||
# OR = {
|
||||
# has_title = title:k_hungary
|
||||
# has_title = title:e_carpathia
|
||||
# }
|
||||
# }
|
||||
|
||||
# Nomadic Vassals of non-Nomads want to settle down
|
||||
modifier = {
|
||||
|
|
@ -5367,8 +5368,8 @@ settle_people_decision = {
|
|||
}
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
NOR = {
|
||||
has_title = title:k_hungary
|
||||
has_title = title:e_carpathia
|
||||
# has_title = title:k_hungary
|
||||
# has_title = title:e_carpathia
|
||||
any_sub_realm_county = {
|
||||
count >= 10
|
||||
title_province = {
|
||||
|
|
@ -5994,13 +5995,13 @@ step_away_from_the_steppe_decision = {
|
|||
has_trait = content
|
||||
domicile.herd <= 500
|
||||
is_independent_ruler = no
|
||||
AND = {
|
||||
culture = { has_cultural_pillar = heritage_magyar }
|
||||
OR = {
|
||||
has_title = title:k_hungary
|
||||
has_title = title:e_carpathia
|
||||
}
|
||||
}
|
||||
# AND = {
|
||||
# culture = { has_cultural_pillar = heritage_magyar }
|
||||
# OR = {
|
||||
# has_title = title:k_hungary
|
||||
# has_title = title:e_carpathia
|
||||
## }
|
||||
## }
|
||||
NOT = {
|
||||
any_sub_realm_county = {
|
||||
title_province = {
|
||||
|
|
@ -6101,15 +6102,15 @@ step_away_from_the_steppe_decision = {
|
|||
has_trait = ambitious
|
||||
}
|
||||
|
||||
# Hungarians want to settle
|
||||
modifier = {
|
||||
add = 1000
|
||||
culture = { has_cultural_pillar = heritage_magyar }
|
||||
OR = {
|
||||
has_title = title:k_hungary
|
||||
has_title = title:e_carpathia
|
||||
}
|
||||
}
|
||||
# # Hungarians want to settle
|
||||
# modifier = {
|
||||
# add = 1000
|
||||
# culture = { has_cultural_pillar = heritage_magyar }
|
||||
# OR = {
|
||||
# has_title = title:k_hungary
|
||||
# has_title = title:e_carpathia
|
||||
# }
|
||||
# }
|
||||
|
||||
# Nomadic Vassals of non-Nomads want to settle down
|
||||
modifier = {
|
||||
|
|
@ -6131,26 +6132,26 @@ step_away_from_the_steppe_decision = {
|
|||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
top_liege = {
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
highest_held_title_tier >= tier_kingdom
|
||||
NOR = {
|
||||
has_title = title:k_hungary
|
||||
has_title = title:e_carpathia
|
||||
any_sub_realm_county = {
|
||||
count >= 10
|
||||
title_province = {
|
||||
OR = {
|
||||
has_holding_type = castle_holding
|
||||
has_holding_type = tribal_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# modifier = {
|
||||
# factor = 0
|
||||
# top_liege = {
|
||||
# government_has_flag = government_is_nomadic
|
||||
# }
|
||||
# highest_held_title_tier >= tier_kingdom
|
||||
# NOR = {
|
||||
# has_title = title:k_hungary
|
||||
# has_title = title:e_carpathia
|
||||
# any_sub_realm_county = {
|
||||
# count >= 10
|
||||
# title_province = {
|
||||
# OR = {
|
||||
# has_holding_type = castle_holding
|
||||
# has_holding_type = tribal_holding
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,131 +1,132 @@
|
|||
##########
|
||||
#Unify Samhan/Goryeo
|
||||
### Unite the Husamguk ###
|
||||
tgp_korea_unify_goryeo_decision = {
|
||||
picture = {
|
||||
reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_asia_welcome.dds"
|
||||
}
|
||||
desc = tgp_korea_unify_goryeo_decision_desc
|
||||
selection_tooltip = tgp_korea_unify_goryeo_decision_tooltip
|
||||
decision_group_type = major
|
||||
|
||||
ai_check_interval_by_tier = {
|
||||
barony = 0
|
||||
county = 0
|
||||
duchy = 0
|
||||
kingdom = 36
|
||||
empire = 0
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
has_tgp_dlc_trigger = yes
|
||||
NOR = {
|
||||
exists = title:e_goryeo.holder
|
||||
exists = title:k_yongson_throne.holder
|
||||
}
|
||||
culture = {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_korean
|
||||
has_cultural_pillar = heritage_buyeo
|
||||
any_parent_culture = {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_korean
|
||||
has_cultural_pillar = heritage_buyeo
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
NOT = {
|
||||
is_target_in_global_variable_list = {
|
||||
name = unavailable_unique_decisions
|
||||
target = flag:unify_goryeo_decision
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid = {
|
||||
government_allows = administrative
|
||||
highest_held_title_tier < tier_empire
|
||||
OR = {
|
||||
has_title = title:k_silla
|
||||
has_title = title:k_goguryeo
|
||||
has_title = title:k_baekje
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = tgp_korea_unify_goryeo_decision_no_other_korean_kingdoms_tt
|
||||
trigger_if = {
|
||||
limit = { exists = title:k_silla.holder }
|
||||
title:k_silla.holder = root
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { exists = title:k_goguryeo.holder }
|
||||
title:k_goguryeo.holder = root
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { exists = title:k_baekje.holder }
|
||||
title:k_baekje.holder = root
|
||||
}
|
||||
}
|
||||
completely_controls = title:d_bukgye
|
||||
completely_controls = title:d_gaeseong
|
||||
completely_controls = title:d_gyeongju
|
||||
completely_controls = title:d_chungju
|
||||
realm_size >= 50
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
is_landed = yes
|
||||
is_adult = yes
|
||||
is_available = yes
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
|
||||
cost = {
|
||||
piety = {
|
||||
value = massive_piety_value
|
||||
}
|
||||
gold = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = no
|
||||
}
|
||||
add = massive_gold_value
|
||||
}
|
||||
}
|
||||
treasury = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = yes
|
||||
}
|
||||
add = massive_gold_value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
effect = {
|
||||
if = {
|
||||
limit = {
|
||||
is_ai = no
|
||||
}
|
||||
add_achievement_global_variable_effect = {
|
||||
VARIABLE = achieved_ep4_13_how_its_done_done_done_achievement
|
||||
VALUE = yes
|
||||
}
|
||||
}
|
||||
#Can only happen once
|
||||
add_to_global_variable_list = {
|
||||
name = unavailable_unique_decisions
|
||||
target = flag:unify_goryeo_decision
|
||||
}
|
||||
save_scope_as = king_of_goryeo
|
||||
show_as_tooltip = { korea_unify_goryeo_reward_effect = yes }
|
||||
trigger_event = tgp_korea_decision.9101
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
###########
|
||||
##Unify Samhan/Goryeo
|
||||
#### Unite the Husamguk ###
|
||||
#tgp_korea_unify_goryeo_decision = {
|
||||
# picture = {
|
||||
# reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_asia_welcome.dds"
|
||||
# }
|
||||
# desc = tgp_korea_unify_goryeo_decision_desc
|
||||
# selection_tooltip = tgp_korea_unify_goryeo_decision_tooltip
|
||||
# decision_group_type = major
|
||||
#
|
||||
# ai_check_interval_by_tier = {
|
||||
# barony = 0
|
||||
# county = 0
|
||||
# duchy = 0
|
||||
# kingdom = 36
|
||||
# empire = 0
|
||||
# hegemony = 0
|
||||
# }
|
||||
#
|
||||
# is_shown = {
|
||||
# has_tgp_dlc_trigger = yes
|
||||
# NOR = {
|
||||
# exists = title:e_goryeo.holder
|
||||
# exists = title:k_yongson_throne.holder
|
||||
# }
|
||||
# culture = {
|
||||
# OR = {
|
||||
# has_cultural_pillar = heritage_korean
|
||||
# has_cultural_pillar = heritage_buyeo
|
||||
# any_parent_culture = {
|
||||
# OR = {
|
||||
# has_cultural_pillar = heritage_korean
|
||||
# has_cultural_pillar = heritage_buyeo
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# NOT = {
|
||||
# is_target_in_global_variable_list = {
|
||||
# name = unavailable_unique_decisions
|
||||
# target = flag:unify_goryeo_decision
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# is_valid = {
|
||||
# government_allows = administrative
|
||||
# highest_held_title_tier < tier_empire
|
||||
# OR = {
|
||||
# has_title = title:k_silla
|
||||
# has_title = title:k_goguryeo
|
||||
# has_title = title:k_baekje
|
||||
# }
|
||||
# custom_tooltip = {
|
||||
# text = tgp_korea_unify_goryeo_decision_no_other_korean_kingdoms_tt
|
||||
# trigger_if = {
|
||||
# limit = { exists = title:k_silla.holder }
|
||||
# title:k_silla.holder = root
|
||||
# }
|
||||
# trigger_if = {
|
||||
# limit = { exists = title:k_goguryeo.holder }
|
||||
# title:k_goguryeo.holder = root
|
||||
# }
|
||||
# trigger_if = {
|
||||
# limit = { exists = title:k_baekje.holder }
|
||||
# title:k_baekje.holder = root
|
||||
# }
|
||||
# }
|
||||
# completely_controls = title:d_bukgye
|
||||
# completely_controls = title:d_gaeseong
|
||||
# completely_controls = title:d_gyeongju
|
||||
# completely_controls = title:d_chungju
|
||||
# realm_size >= 50
|
||||
# }
|
||||
#
|
||||
# is_valid_showing_failures_only = {
|
||||
# is_landed = yes
|
||||
# is_adult = yes
|
||||
# is_available = yes
|
||||
# is_independent_ruler = yes
|
||||
# }
|
||||
#
|
||||
# cost = {
|
||||
# piety = {
|
||||
# value = massive_piety_value
|
||||
# }
|
||||
# gold = {
|
||||
# value = 0
|
||||
# if = {
|
||||
# limit = {
|
||||
# has_treasury = no
|
||||
# }
|
||||
# add = massive_gold_value
|
||||
# }
|
||||
# }
|
||||
# treasury = {
|
||||
# value = 0
|
||||
# if = {
|
||||
# limit = {
|
||||
# has_treasury = yes
|
||||
# }
|
||||
# add = massive_gold_value
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# effect = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# is_ai = no
|
||||
# }
|
||||
# add_achievement_global_variable_effect = {
|
||||
# VARIABLE = achieved_ep4_13_how_its_done_done_done_achievement
|
||||
# VALUE = yes
|
||||
# }
|
||||
# }
|
||||
# #Can only happen once
|
||||
# add_to_global_variable_list = {
|
||||
# name = unavailable_unique_decisions
|
||||
# target = flag:unify_goryeo_decision
|
||||
# }
|
||||
# save_scope_as = king_of_goryeo
|
||||
# show_as_tooltip = { korea_unify_goryeo_reward_effect = yes }
|
||||
# trigger_event = tgp_korea_decision.9101
|
||||
# }
|
||||
#
|
||||
# ai_will_do = {
|
||||
# base = 100
|
||||
# }
|
||||
#}
|
||||
#
|
||||
Loading…
Add table
Add a link
Reference in a new issue