fix decision part 2
This commit is contained in:
parent
369a877979
commit
78d2874d13
5 changed files with 1831 additions and 20 deletions
|
|
@ -483,3 +483,680 @@ cancel_holy_order_lease_decision = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
create_holy_order_monastic_decision = {
|
||||||
|
picture = {
|
||||||
|
trigger = {
|
||||||
|
culture = { has_graphical_east_asia_culture_group_trigger = yes }
|
||||||
|
}
|
||||||
|
reference = "gfx/interface/illustrations/holding_types/tgp_chinese_pagoda.dds"
|
||||||
|
}
|
||||||
|
picture = {
|
||||||
|
trigger = {
|
||||||
|
culture = { has_graphical_india_culture_group_trigger = yes }
|
||||||
|
}
|
||||||
|
reference = "gfx/interface/illustrations/holding_types/tgp_castle_se_asia.dds"
|
||||||
|
}
|
||||||
|
picture = {
|
||||||
|
reference = "gfx/interface/illustrations/decisions/pam_pre-romanesque_church_exterior.dds"
|
||||||
|
}
|
||||||
|
decision_group_type = major
|
||||||
|
|
||||||
|
ai_goal = yes
|
||||||
|
|
||||||
|
cooldown = { years = 10 }
|
||||||
|
|
||||||
|
is_shown = {
|
||||||
|
is_landed = yes
|
||||||
|
highest_held_title_tier >= tier_duchy
|
||||||
|
faith ?= {
|
||||||
|
faith_has_monasticism_trigger = yes
|
||||||
|
NOT = {
|
||||||
|
any_faith_holy_order = {
|
||||||
|
#Can be military patron and found monastic order
|
||||||
|
leader ?= {
|
||||||
|
government_has_flag = government_is_monastic_holy_order
|
||||||
|
}
|
||||||
|
holy_order_patron ?= root
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
cost = {
|
||||||
|
gold = {
|
||||||
|
value = 0
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
has_treasury = no
|
||||||
|
}
|
||||||
|
add = monastic_order_gold_cost
|
||||||
|
}
|
||||||
|
}
|
||||||
|
treasury = {
|
||||||
|
value = 0
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
has_treasury = yes
|
||||||
|
}
|
||||||
|
add = monastic_order_gold_cost
|
||||||
|
}
|
||||||
|
}
|
||||||
|
piety = {
|
||||||
|
value = monastic_order_piety_cost
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
widget = {
|
||||||
|
controller = select_county_title_in_realm
|
||||||
|
|
||||||
|
title_valid = {
|
||||||
|
trigger_if = {
|
||||||
|
limit = { exists = this }
|
||||||
|
county_is_valid_for_monastic_lease_trigger = { CHARACTER = scope:ruler }
|
||||||
|
}
|
||||||
|
trigger_else = {
|
||||||
|
custom_description = {
|
||||||
|
text = "has_holy_order_county_selected"
|
||||||
|
always = no
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
is_valid_showing_failures_only = {
|
||||||
|
is_available_adult = yes
|
||||||
|
is_at_war = no
|
||||||
|
}
|
||||||
|
|
||||||
|
is_valid = {
|
||||||
|
|
||||||
|
custom_tooltip = {
|
||||||
|
text = has_temple_for_monastic_tt
|
||||||
|
save_temporary_scope_as = root_temp
|
||||||
|
any_held_county = {
|
||||||
|
county_is_valid_for_monastic_lease_trigger = { CHARACTER = root }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
trigger_if = {
|
||||||
|
limit = {
|
||||||
|
has_pam_dlc_trigger = yes
|
||||||
|
}
|
||||||
|
OR = {
|
||||||
|
custom_tooltip = {
|
||||||
|
text = government_is_theocracy
|
||||||
|
government_has_flag = government_is_theocracy
|
||||||
|
}
|
||||||
|
custom_tooltip = {
|
||||||
|
text = has_clerical_puppet_tt
|
||||||
|
OR = {
|
||||||
|
exists = root.puppet:theological_agent_puppet
|
||||||
|
exists = root.puppet:external_theological_agent_puppet
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
trigger_if = {
|
||||||
|
limit = {
|
||||||
|
is_ai = yes
|
||||||
|
}
|
||||||
|
piety_level >= 1
|
||||||
|
}
|
||||||
|
trigger_else = {
|
||||||
|
piety_level >= 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
effect = {
|
||||||
|
create_monastic_decision_effect = yes
|
||||||
|
}
|
||||||
|
|
||||||
|
ai_potential = {
|
||||||
|
highest_held_title_tier >= tier_duchy
|
||||||
|
is_playable_character = yes
|
||||||
|
any_held_county = {
|
||||||
|
county_is_valid_for_monastic_lease_trigger = { CHARACTER = root }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ai_will_do = {
|
||||||
|
base = 200
|
||||||
|
modifier = {
|
||||||
|
add = {
|
||||||
|
faith = {
|
||||||
|
# Don't create more than 20 monastic orders for a faith
|
||||||
|
every_faith_holy_order = {
|
||||||
|
subtract = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
modifier = {
|
||||||
|
government_has_flag = government_is_mandala
|
||||||
|
add = -150
|
||||||
|
}
|
||||||
|
modifier = {
|
||||||
|
gold <= monastic_order_gold_cost
|
||||||
|
piety <= monastic_order_piety_cost
|
||||||
|
factor = 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pam_monastic_order_new_movement_decision = {
|
||||||
|
picture = {
|
||||||
|
trigger = {
|
||||||
|
culture = {
|
||||||
|
OR = {
|
||||||
|
has_graphical_east_asia_culture_group_trigger = yes
|
||||||
|
has_graphical_india_culture_group_trigger = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
reference = "gfx/interface/illustrations/holding_types/tgp_decision_mandala.dds"
|
||||||
|
}
|
||||||
|
picture = {
|
||||||
|
reference = "gfx/interface/illustrations/decisions/pam_decision_reform_monastic_endowment.dds"
|
||||||
|
}
|
||||||
|
decision_group_type = major
|
||||||
|
|
||||||
|
ai_goal = yes
|
||||||
|
|
||||||
|
cooldown = { years = 10 }
|
||||||
|
|
||||||
|
is_shown = {
|
||||||
|
is_landed = yes
|
||||||
|
highest_held_title_tier >= tier_duchy
|
||||||
|
#Show when you have any order in your sub-realm you might want to replace
|
||||||
|
any_sub_realm_barony = {
|
||||||
|
barony_is_valid_to_be_transferred_by_monastic_movement_trigger = { CHARACTER = root }
|
||||||
|
}
|
||||||
|
faith = {
|
||||||
|
faith_has_monasticism_trigger = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
widget = {
|
||||||
|
controller = select_barony_title_in_realm
|
||||||
|
|
||||||
|
title_valid = {
|
||||||
|
trigger_if = {
|
||||||
|
limit = { exists = this }
|
||||||
|
county.holder ?= scope:ruler
|
||||||
|
is_under_holy_order_lease = yes
|
||||||
|
lessee ?= {
|
||||||
|
government_has_flag = government_is_monastic_holy_order
|
||||||
|
holy_order ?= {
|
||||||
|
NOT = { holy_order_patron ?= scope:ruler }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
trigger_else = {
|
||||||
|
custom_description = {
|
||||||
|
text = "pam_monastic_order_new_movement_decision_select_barony_tt"
|
||||||
|
always = no
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
is_valid_showing_failures_only = {
|
||||||
|
is_available_adult = yes
|
||||||
|
trigger_if = {
|
||||||
|
limit = {
|
||||||
|
monastic_movement_non_order_size_reqs_trigger = no
|
||||||
|
}
|
||||||
|
custom_tooltip = {
|
||||||
|
text = monastic_movement_order_too_small_tt
|
||||||
|
any_held_county = {
|
||||||
|
any_county_province = {
|
||||||
|
barony = {
|
||||||
|
barony_is_valid_to_be_transferred_by_monastic_movement_trigger = { CHARACTER = root }
|
||||||
|
lessee.holy_order = {
|
||||||
|
num_leased_titles >= 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
is_valid = {
|
||||||
|
custom_tooltip = {
|
||||||
|
text = has_monastic_movement_lease_tt
|
||||||
|
any_held_county = {
|
||||||
|
any_county_province = {
|
||||||
|
barony = {
|
||||||
|
barony_is_valid_to_be_transferred_by_monastic_movement_trigger = { CHARACTER = root }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
trigger_if = {
|
||||||
|
limit = {
|
||||||
|
has_pam_dlc_trigger = yes
|
||||||
|
NOT = {
|
||||||
|
government_has_flag = government_is_theocracy
|
||||||
|
}
|
||||||
|
}
|
||||||
|
custom_tooltip = {
|
||||||
|
text = has_theological_agent_puppet_tt
|
||||||
|
exists = root.puppet:theological_agent_puppet
|
||||||
|
}
|
||||||
|
}
|
||||||
|
trigger_else = {
|
||||||
|
OR = {
|
||||||
|
AND = {
|
||||||
|
has_trait = lifestyle_scholar
|
||||||
|
has_trait_xp = {
|
||||||
|
trait = lifestyle_scholar
|
||||||
|
value >= 60
|
||||||
|
}
|
||||||
|
}
|
||||||
|
has_trait = theologian
|
||||||
|
has_trait = erudite
|
||||||
|
has_trait = lifestyle_mystic
|
||||||
|
has_trait = devoted
|
||||||
|
has_trait = family_first
|
||||||
|
has_trait = diplomat
|
||||||
|
has_trait = schemer
|
||||||
|
}
|
||||||
|
}
|
||||||
|
trigger_if = {
|
||||||
|
limit = {
|
||||||
|
has_pam_dlc_trigger = yes
|
||||||
|
}
|
||||||
|
custom_tooltip = {
|
||||||
|
text = has_external_theological_agent_puppet_tt
|
||||||
|
exists = root.puppet:external_theological_agent_puppet
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
OR = {
|
||||||
|
custom_tooltip = {
|
||||||
|
text = domain_order_is_large_tt
|
||||||
|
any_held_county = {
|
||||||
|
any_county_province = {
|
||||||
|
barony = {
|
||||||
|
barony_is_valid_to_be_transferred_by_monastic_movement_trigger = { CHARACTER = root }
|
||||||
|
lessee.holy_order = {
|
||||||
|
num_leased_titles >= 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
monastic_movement_non_order_size_reqs_trigger = yes
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
trigger_if = {
|
||||||
|
limit = {
|
||||||
|
is_ai = yes
|
||||||
|
}
|
||||||
|
piety_level >= 1
|
||||||
|
}
|
||||||
|
trigger_else = {
|
||||||
|
piety_level >= 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
effect = {
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
exists = scope:title
|
||||||
|
exists = scope:title.lessee.holy_order
|
||||||
|
}
|
||||||
|
scope:title = { save_scope_as = barony }
|
||||||
|
scope:title.lessee = { save_scope_as = target_lessee }
|
||||||
|
scope:title.lessee.holy_order = { save_scope_as = target_order }
|
||||||
|
scope:title.lessee.holy_order.order_tenet = { save_scope_as = target_order_tenet }
|
||||||
|
scope:target_order = {
|
||||||
|
|
||||||
|
every_leased_title = {
|
||||||
|
limit = {
|
||||||
|
county.holder ?= {
|
||||||
|
this = root
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add_to_list = revoked_leases
|
||||||
|
}
|
||||||
|
leader ?= {
|
||||||
|
add_opinion = {
|
||||||
|
modifier = revoked_order_lease_opinion
|
||||||
|
target = root
|
||||||
|
opinion = {
|
||||||
|
value = 0
|
||||||
|
every_in_list = {
|
||||||
|
list = revoked_leases
|
||||||
|
add = -50
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
holy_order_patron ?= {
|
||||||
|
add_opinion = {
|
||||||
|
modifier = revoked_order_lease_opinion
|
||||||
|
target = root
|
||||||
|
opinion = {
|
||||||
|
value = 0
|
||||||
|
every_in_list = {
|
||||||
|
list = revoked_leases
|
||||||
|
add = -25
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
every_in_list = {
|
||||||
|
list = revoked_leases
|
||||||
|
revoke_lease = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
custom_tooltip = monastic_order_creation_breakdown_tooltip
|
||||||
|
custom_tooltip = movement_order_gains_target_monasteries_tt
|
||||||
|
custom_tooltip = movement_order_has_monaster_gaining_bonus_tt
|
||||||
|
custom_tooltip = movement_order_tenet_popularity_tt
|
||||||
|
faith = {
|
||||||
|
if = {
|
||||||
|
limit = { has_tenet_popularity_trigger = yes }
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
list_size = {
|
||||||
|
name = revoked_leases
|
||||||
|
value >= 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
change_tenet_popularity = {
|
||||||
|
target = scope:target_order_tenet
|
||||||
|
change = {
|
||||||
|
value = medium_tenet_popularity_loss
|
||||||
|
multiply = 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else_if = {
|
||||||
|
limit = {
|
||||||
|
list_size = {
|
||||||
|
name = revoked_leases
|
||||||
|
value >= 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
change_tenet_popularity = {
|
||||||
|
target = scope:target_order_tenet
|
||||||
|
change = {
|
||||||
|
value = medium_tenet_popularity_loss
|
||||||
|
multiply = 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else_if = {
|
||||||
|
limit = {
|
||||||
|
list_size = {
|
||||||
|
name = revoked_leases
|
||||||
|
value >= 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
change_tenet_popularity = {
|
||||||
|
target = scope:target_order_tenet
|
||||||
|
change = {
|
||||||
|
value = medium_tenet_popularity_loss
|
||||||
|
multiply = 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else_if = {
|
||||||
|
limit = {
|
||||||
|
list_size = {
|
||||||
|
name = revoked_leases
|
||||||
|
value >= 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
change_tenet_popularity = {
|
||||||
|
target = scope:target_order_tenet
|
||||||
|
change = {
|
||||||
|
value = medium_tenet_popularity_loss
|
||||||
|
multiply = 1.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else = {
|
||||||
|
change_tenet_popularity = {
|
||||||
|
target = scope:target_order_tenet
|
||||||
|
change = {
|
||||||
|
value = medium_tenet_popularity_loss
|
||||||
|
multiply = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
NOT = {
|
||||||
|
has_trait = lifestyle_scholar
|
||||||
|
}
|
||||||
|
OR = {
|
||||||
|
has_trait = education_learning
|
||||||
|
has_lifestyle = learning_lifestyle
|
||||||
|
government_has_flag = government_is_theocracy
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add_trait = lifestyle_scholar
|
||||||
|
}
|
||||||
|
else_if = {
|
||||||
|
limit = {
|
||||||
|
OR = {
|
||||||
|
has_trait = education_learning
|
||||||
|
has_lifestyle = learning_lifestyle
|
||||||
|
government_has_flag = government_is_theocracy
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add_trait_xp = {
|
||||||
|
trait = lifestyle_scholar
|
||||||
|
value = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
show_as_tooltip = {
|
||||||
|
create_monastic_order_founder_effect = yes
|
||||||
|
}
|
||||||
|
|
||||||
|
trigger_event = holy_order.2050
|
||||||
|
}
|
||||||
|
|
||||||
|
cost = {
|
||||||
|
prestige = {
|
||||||
|
value = 400
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
exists = scope:title
|
||||||
|
}
|
||||||
|
scope:title.lessee.holy_order ?= {
|
||||||
|
every_leased_title = {
|
||||||
|
limit = {
|
||||||
|
county.holder ?= {
|
||||||
|
this = root
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add = 200
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
domicile ?= {
|
||||||
|
has_domicile_parameter = estate_cloister_monastic_movement
|
||||||
|
}
|
||||||
|
}
|
||||||
|
divide = 2
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
is_ai = yes
|
||||||
|
}
|
||||||
|
divide = 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
piety = {
|
||||||
|
value = 400
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
exists = scope:title
|
||||||
|
}
|
||||||
|
scope:title.lessee.holy_order ?= {
|
||||||
|
every_leased_title = {
|
||||||
|
limit = {
|
||||||
|
county.holder ?= {
|
||||||
|
this = root
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add = 200
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
domicile ?= {
|
||||||
|
has_domicile_parameter = estate_cloister_monastic_movement
|
||||||
|
}
|
||||||
|
}
|
||||||
|
divide = 2
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
is_ai = yes
|
||||||
|
}
|
||||||
|
divide = 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ai_potential = {
|
||||||
|
highest_held_title_tier >= tier_duchy
|
||||||
|
is_playable_character = yes
|
||||||
|
any_held_county = {
|
||||||
|
county_is_valid_for_monastic_lease_trigger = { CHARACTER = root }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ai_will_do = {
|
||||||
|
base = 200
|
||||||
|
modifier = {
|
||||||
|
add = {
|
||||||
|
faith = {
|
||||||
|
# Don't create more than 20 monastic orders for a faith
|
||||||
|
every_faith_holy_order = {
|
||||||
|
subtract = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
modifier = {
|
||||||
|
government_has_flag = government_is_mandala
|
||||||
|
add = -150
|
||||||
|
}
|
||||||
|
modifier = {
|
||||||
|
add = ai_zeal
|
||||||
|
ai_zeal < 0
|
||||||
|
}
|
||||||
|
modifier = {
|
||||||
|
add = ai_boldness
|
||||||
|
ai_boldness < 0
|
||||||
|
}
|
||||||
|
modifier = {
|
||||||
|
factor = 2
|
||||||
|
OR = {
|
||||||
|
#Opinion of target abbot
|
||||||
|
AND = {
|
||||||
|
exists = scope:title.lessee
|
||||||
|
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:title.lessee }
|
||||||
|
}
|
||||||
|
#Opinion of target abbot liege
|
||||||
|
AND = {
|
||||||
|
exists = scope:title.lessee.holy_order
|
||||||
|
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:title.lessee.holy_order.holy_order_patron }
|
||||||
|
}
|
||||||
|
#Has tenet they want promoted
|
||||||
|
AND = {
|
||||||
|
OR = {
|
||||||
|
has_trait = education_learning
|
||||||
|
has_lifestyle = learning_lifestyle
|
||||||
|
government_has_flag = government_is_theocracy
|
||||||
|
}
|
||||||
|
any_personal_tenet = {
|
||||||
|
root.rite = {
|
||||||
|
NOR = {
|
||||||
|
has_tenet_status = {
|
||||||
|
tenet = prev
|
||||||
|
status = prohibited
|
||||||
|
}
|
||||||
|
has_tenet_status = {
|
||||||
|
tenet = prev
|
||||||
|
status = core
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
exists = scope:title.lessee.holy_order.order_tenet
|
||||||
|
any_personal_tenet = {
|
||||||
|
this = scope:title.lessee.holy_order.order_tenet
|
||||||
|
}
|
||||||
|
rite = scope:title.lessee.rite
|
||||||
|
NOT = {
|
||||||
|
house ?= {
|
||||||
|
any_house_member = {
|
||||||
|
monastic_movement_potential_leader_trigger = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
modifier = {
|
||||||
|
factor = 0
|
||||||
|
OR = {
|
||||||
|
#Opinion of target abbot
|
||||||
|
AND = {
|
||||||
|
exists = scope:title.lessee
|
||||||
|
OR = {
|
||||||
|
has_any_good_relationship_with_character_trigger = { CHARACTER = scope:title.lessee }
|
||||||
|
scope:title.lessee.puppeteer ?= root
|
||||||
|
AND = {
|
||||||
|
exists = house
|
||||||
|
scope:title.lessee.house ?= root.house
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#Opinion of target abbot liege
|
||||||
|
AND = {
|
||||||
|
exists = scope:title.lessee.holy_order
|
||||||
|
OR = {
|
||||||
|
has_any_good_relationship_with_character_trigger = { CHARACTER = scope:title.lessee.holy_order.holy_order_patron }
|
||||||
|
has_dread_level_towards = {
|
||||||
|
target = scope:title.lessee.holy_order.holy_order_patron
|
||||||
|
level >= 1
|
||||||
|
}
|
||||||
|
puppeteer ?= scope:title.lessee.holy_order.holy_order_patron
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#Supports order tenet
|
||||||
|
AND = {
|
||||||
|
exists = scope:title.lessee.holy_order.order_tenet
|
||||||
|
any_personal_tenet = {
|
||||||
|
this = scope:title.lessee.holy_order.order_tenet
|
||||||
|
}
|
||||||
|
rite = scope:title.lessee.rite
|
||||||
|
NOT = {
|
||||||
|
house ?= {
|
||||||
|
any_house_member = {
|
||||||
|
monastic_movement_potential_leader_trigger = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -48,6 +48,8 @@
|
||||||
}
|
}
|
||||||
destroy_artifact = this
|
destroy_artifact = this
|
||||||
}
|
}
|
||||||
|
get_artifact_quality_effect = yes
|
||||||
|
get_artifact_wealth_effect = yes
|
||||||
set_artifact_rarity_illustrious = yes
|
set_artifact_rarity_illustrious = yes
|
||||||
create_artifact = {
|
create_artifact = {
|
||||||
name = crown_wenceslas_name
|
name = crown_wenceslas_name
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,7 @@ restore_poland_lithuania_decision = {
|
||||||
is_shown = {
|
is_shown = {
|
||||||
is_ruler = yes
|
is_ruler = yes
|
||||||
is_playable_character = yes
|
is_playable_character = yes
|
||||||
|
title:e_poland_lithuania = { is_title_created = no }
|
||||||
OR = {
|
OR = {
|
||||||
has_title = title:k_poland
|
has_title = title:k_poland
|
||||||
has_title = title:k_lithuania
|
has_title = title:k_lithuania
|
||||||
|
|
@ -270,6 +271,7 @@ realize_domowina_decision = {
|
||||||
is_shown = {
|
is_shown = {
|
||||||
is_ruler = yes
|
is_ruler = yes
|
||||||
is_playable_character = yes
|
is_playable_character = yes
|
||||||
|
title:k_lusatia = { is_title_created = no }
|
||||||
OR = {
|
OR = {
|
||||||
culture = culture:sorbian
|
culture = culture:sorbian
|
||||||
}
|
}
|
||||||
|
|
@ -343,7 +345,7 @@ reform_czechoslovakia_decision = {
|
||||||
selection_tooltip = reform_czechoslovakia_decision_tooltip
|
selection_tooltip = reform_czechoslovakia_decision_tooltip
|
||||||
|
|
||||||
is_shown = {
|
is_shown = {
|
||||||
NOT = { exists = title:k_czechoslovakia.holder }
|
title:k_czechoslovakia = { is_title_created = no }
|
||||||
is_playable_character = yes
|
is_playable_character = yes
|
||||||
NOT = {
|
NOT = {
|
||||||
is_target_in_global_variable_list = {
|
is_target_in_global_variable_list = {
|
||||||
|
|
@ -389,19 +391,6 @@ reform_czechoslovakia_decision = {
|
||||||
custom_tooltip = reform_czechoslovakia_decision_effect_tooltip
|
custom_tooltip = reform_czechoslovakia_decision_effect_tooltip
|
||||||
gain_heroic_legend_seed_tooltip_effect = yes
|
gain_heroic_legend_seed_tooltip_effect = yes
|
||||||
|
|
||||||
## Czechoslovakia Restored
|
|
||||||
title:d_bohemia = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
||||||
title:d_moravia = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
||||||
title:d_krusnohori = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
||||||
title:d_severovychodni_cechy = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
||||||
title:d_nyitra = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
||||||
title:d_trencin = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
||||||
title:d_banska_bystrica = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
||||||
title:d_ungvar = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
||||||
title:d_transcarpathia = { set_de_jure_liege_title = title:k_czechoslovakia }
|
|
||||||
title:c_orava = { set_de_jure_liege_title = title:d_trencin }
|
|
||||||
title:c_opava = { set_de_jure_liege_title = title:d_moravia }
|
|
||||||
|
|
||||||
hidden_effect = {
|
hidden_effect = {
|
||||||
save_scope_as = founder
|
save_scope_as = founder
|
||||||
create_title_and_vassal_change = {
|
create_title_and_vassal_change = {
|
||||||
|
|
@ -439,10 +428,22 @@ reform_czechoslovakia_decision = {
|
||||||
title:c_opava = { set_de_jure_liege_title = title:d_moravia }
|
title:c_opava = { set_de_jure_liege_title = title:d_moravia }
|
||||||
|
|
||||||
## Destroy the Previous Kingdoms
|
## Destroy the Previous Kingdoms
|
||||||
destroy_title = title:k_bohemia
|
if = {
|
||||||
destroy_title = title:k_slovakia
|
limit = { has_title = title:k_bohemia }
|
||||||
destroy_title = title:k_galicia-volhynia
|
destroy_title = title:k_bohemia
|
||||||
destroy_title = title:d_tatra
|
}
|
||||||
|
if = {
|
||||||
|
limit = { has_title = title:k_slovakia }
|
||||||
|
destroy_title = title:k_slovakia
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = { has_title = title:k_galicia-volhynia }
|
||||||
|
destroy_title = title:k_galicia-volhynia
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = { has_title = title:d_tatra }
|
||||||
|
destroy_title = title:d_tatra
|
||||||
|
}
|
||||||
|
|
||||||
## Make Czechoslovakia the primary title
|
## Make Czechoslovakia the primary title
|
||||||
set_primary_title_to = title:k_czechoslovakia
|
set_primary_title_to = title:k_czechoslovakia
|
||||||
|
|
|
||||||
|
|
@ -669,7 +669,7 @@ mend_orthodox_schism_decision = {
|
||||||
}
|
}
|
||||||
|
|
||||||
is_valid = {
|
is_valid = {
|
||||||
highest_held_title_tier > 4 # Like the base-game Great Schism decision
|
highest_held_title_tier >= tier_empire
|
||||||
piety_level >= max_piety_level
|
piety_level >= max_piety_level
|
||||||
|
|
||||||
completely_controls = title:c_byzantion
|
completely_controls = title:c_byzantion
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue