Anda di halaman 1dari 22

decisions = {

form_st_ursulas_chosen = {
is_high_prio = yes
only_playable = yes
ai_check_interval = 60

potential = {
any_demesne_title = {
higher_tier_than = COUNT #speed things up a bit
}
NOT = {
is_title_active = d_st_ursulas_chosen
is_title_active = k_ursuline_state
}
OR = {
religion = ursuline
religion = angeline
}
#OR = {
# has_landed_title = e_hre
# NOT = {
# is_title_active = e_hre
# }
#}

culture = quebecois

independent = yes

OR = {
has_global_flag = ursuline_crusades_unlocked #Prevent Army
from being created at start.
has_global_flag = pagan_ghws_unlocked
}

NOT = {
has_alternate_start_parameter = { key = religion_names
value = random }
}
}

allow = {
war = no
piety = 500
wealth = 500
is_heretic = no
culture = quebecois

NOT = {
trait = excommunicated
}
#Removed Jerusalem requirement
}

effect = {
wealth = -500
piety = -500

custom_tooltip = {
text = form_st_ursulas_chosen_TT

create_random_soldier = {
female = yes
random_traits = yes
dynasty = random
culture = quebecois
religion = ROOT
age = 25
}
new_character = {
set_government_type = order_government
add_trait = shrewd
add_trait = zealous
add_trait = diligent
add_trait = inspiring_leader
add_trait = organizer
if = {
limit = {
NOT = {
trait = brilliant_strategist
}
}
remove_trait = misguided_warrior
remove_trait = tough_soldier
remove_trait = skilled_tactician
add_trait = brilliant_strategist
}
grant_title_no_opinion = d_st_ursulas_chosen
save_event_target_as = teutonic_hochmeister

opinion = {
name = opinion_formed_order
who = ROOT
years = 25
}
add_friend = ROOT
primary_title = {
holy_order_set_law_effect = yes
}
}
}

ROOT = {
narrative_event = { id = HFP.40031 }
}
any_playable_ruler = {
narrative_event = { id = HFP.40031 }
}

sound_effect = generic_click_01
}
}

#Removed vassalization decision entirely - no Jerusalem means this decision


would make no sense.=

hire_ursuline_honor_guard = {
is_high_prio = yes
only_playable = yes
ai = no

potential = {
any_owned_bloodline = {
has_bloodline_flag = lacustrine_crusade_bloodline
}
religion_group = christian
is_heretic = no
NOT = {
has_earmarked_regiments = ursuline_honor_guard
}
OR = {
is_title_active = d_st_ursulas_chosen
is_title_active = k_ursuline_state
}
}

allow = {
piety = 300
war = yes
conditional_tooltip = {
trigger = {
d_st_ursulas_chosen = {
holder_scope = {
is_foe = ROOT
}
}
is_title_active = d_st_ursulas_chosen
}

NOT = {
d_st_ursulas_chosen = {
holder_scope = {
is_foe = ROOT
}
}
}
}
conditional_tooltip = {
trigger = {
k_ursuline_state = {
show_scope_change = no
holder_scope = {
show_scope_change = no
is_foe = ROOT
}
}
is_title_active = k_ursuline_state
}

NOT = {
k_ursuline_state = {
show_scope_change = no
holder_scope = {
show_scope_change = no
is_foe = ROOT
}
}
}
}
conditional_tooltip = {
trigger = {
has_character_modifier =
hire_ursuline_honor_guard_cooldown
}

custom_tooltip = {
text = hire_ursuline_honor_guard_cooldown_TT

always = no
}
}
}

effect = {
piety = -300

capital_scope = {
show_scope_change = no
ROOT = {
show_scope_change = no
spawn_unit = {
owner = ROOT
province = PREV
home = PREV
troops = {
heavy_infantry = { 1500 1500 }
light_infantry = { 1500 1500 }
archers = { 1000 1000 }
}
attrition = 1.0
disband_on_peace = yes
maintenance_multiplier = 0.4
earmark = ursuline_honor_guard
}
}
}

hidden_tooltip = {
add_character_modifier = {
name = hire_ursuline_honor_guard_cooldown
hidden = yes
years = 1
}
}
sound_effect = generic_click_01
}
}

form_national_cathedral = {
is_high_prio = yes
only_playable = yes
ai_check_interval = 60

potential = {
any_demesne_title = {
higher_tier_than = BARON
}
NOT = {
is_title_active = d_national_cathedral
}
OR = {
religion = evangelical
religion = antinomian
religion = charismatic
}

is_heretic = no

OR = {
has_landed_title = c_washington
any_realm_lord = {
has_landed_title = c_washington
}
}

independent = yes

OR = {
has_global_flag = christian_crusades_unlocked #Prevent Army
from being created at start.
has_global_flag = pagan_ghws_unlocked
has_global_flag = mormon_expeditions_unlocked
has_global_flag = ursuline_crusades_unlocked
}

NOT = {
has_alternate_start_parameter = { key = religion_names
value = random }
}
}
allow = {
war = no
piety = 500
wealth = 500
is_heretic = no
independent = yes
NOT = {
trait = excommunicated
}

custom_tooltip = {
text = form_national_cathedral_washington_TT

OR = {
has_landed_title = c_washington
any_realm_lord = {
has_landed_title = c_washington
}
}
}
}
effect = {
wealth = -500
piety = -500
custom_tooltip = {
text = form_national_cathedral_TT

create_random_soldier = {
random_traits = yes
dynasty = random
culture = beltway
religion = ROOT
age = 25
}
new_character = {
set_government_type = order_government
add_trait = shrewd
add_trait = zealous
add_trait = diligent
add_trait = inspiring_leader
add_trait = organizer
if = {
limit = {
NOT = {
trait = brilliant_strategist
}
}
remove_trait = misguided_warrior
remove_trait = tough_soldier
remove_trait = skilled_tactician
add_trait = brilliant_strategist
}
grant_title_no_opinion = d_national_cathedral

opinion = {
name = opinion_formed_order
who = ROOT
years = 25
}
add_friend = ROOT
primary_title = {
holy_order_set_law_effect = yes
}
}
}

if = {
limit = {
higher_tier_than = DUKE
NOT = {
any_realm_lord = {
holy_order = yes
}
}
}

custom_tooltip = {
text = form_vassalize_national_cathedral_TT

d_national_cathedral = {
holder_scope = {
set_defacto_liege = ROOT
}
}
}
}

ROOT = {
narrative_event = { id = HFP.40032 }
}
any_playable_ruler = {
narrative_event = { id = HFP.40032 }
}

sound_effect = generic_click_01
}
}

vassalize_national_cathedral = {
is_high_prio = yes
only_playable = yes
ai_check_interval = 60

potential = {
any_demesne_title = {
higher_tier_than = DUKE
}
OR = {
religion = evangelical
religion = antinomian
religion = charismatic
}

OR = {
has_landed_title = c_washington
any_realm_lord = {
has_landed_title = c_washington
}
}

independent = yes

d_national_cathedral = {
holder_scope = {
independent = yes
}
}

NOT = {
d_national_cathedral = {
owner = {
has_opinion_modifier = {
who = ROOT
modifier = opinion_unfit_ruler
}
}
}
}

NOT = { has_character_modifier = expelled_d_holy_sepulchre }

OR = {
has_global_flag = christian_crusades_unlocked #Prevent Army
from being created at start.
has_global_flag = pagan_ghws_unlocked
has_global_flag = mormon_expeditions_unlocked
has_global_flag = ursuline_crusades_unlocked
}

NOT = {
has_alternate_start_parameter = { key = religion_names
value = random }
}
}
allow = {
war = no
piety = 500
wealth = 500
is_heretic = no
independent = yes
NOT = {
trait = excommunicated
}
custom_tooltip = {
text = form_holy_sepulchre_jerusalem_TT

OR = {
has_landed_title = c_washington
any_realm_lord = {
has_landed_title = c_washington
}
}
}

conditional_tooltip = {
trigger = {
NOT = {
d_national_cathedral = {
holder_scope = {
opinion = {
who = ROOT
value = 25
}
}
}
}
}

custom_tooltip = {
text = vassalize_national_cathedral_TT

d_national_cathedral = {
holder_scope = {
opinion = {
who = ROOT
value = 25
}
}
}
}
}
custom_tooltip = {
text = only_one_vassalized_holy_order_TT

NOT = {
any_realm_lord = {
holy_order = yes
}
}
}
}
effect = {
wealth = -500
piety = -500

custom_tooltip = {
text = form_vassalize_holy_sepulchre_TT

d_national_cathedral = {
holder_scope = {
set_defacto_liege = ROOT
}
}
}
}
}
}

targetted_decisions = {

order_to_join_holy_order = {
only_playable = yes
filter = court
ai_target_filter = court
third_party_filter = all
show_third_party_potential = no
ai_check_interval = 1200 #Check every 1200 months

from_potential = {
is_playable = yes
has_regent = no
prisoner = no
is_adult = yes
is_heretic = no
}

third_party_potential = {
FROMFROM = {
religion = FROM
holy_order = yes
}
}

potential = {
is_adult = yes
is_ruler = no
is_female = no
religion = FROM
NOT = {
trait = incapable
}
host = { character = FROM }
holy_order_check_active_trigger = yes
}

allow = {
OR = {
AND = {
is_married = no
custom_tooltip = {
text = NOT_HEIR_TITLE_TT

NOT = {
any_heir_title = {
always = yes
}
}
}
}
prisoner = yes
}
FROM = { piety = 50 }
}

effect = {
FROM = {
piety = -50
}
if = {
limit = {
OR = {
trait = content
trait = monk
trait = nun
trait = zealous
trait = humble
trait = brave
trait = crusader
trait = celibate
}
}
move_character = FROMFROM
hidden_tooltip = {
add_trait = celibate
}
}
else = {
random_list = {
80 = {
# Intrigue based chance modifiers for FROM
modifier = {
factor = 0.5
NOT = {
FROM = {
intrigue = 5
}
}
}
modifier = {
factor = 1.5
FROM = {
intrigue = 10
}
}
modifier = {
factor = 1.5
FROM = {
intrigue = 15
}
}
modifier = {
factor = 1.5
FROM = {
intrigue = 20
}
}
custom_tooltip = {
text = join_holy_order_success_TT

move_character = FROMFROM
add_trait = celibate
}
}
20 = {
# Traits making ROOT more likely to join a Holy
Order
modifier = {
factor = 0.5
trait = diligent
}
modifier = {
factor = 0.5
trait = temperate
}
modifier = {
factor = 0.5
trait = chaste
}
modifier = {
factor = 0.5
trait = brave
}
modifier = {
factor = 0.5
is_married = yes
}
modifier = {
factor = 0.5
trait = holy_warrior
}
# Traits making ROOT less likely to join a Holy
order
modifier = {
factor = 2
trait = ambitious
}
modifier = {
factor = 1.5
trait = greedy
}
modifier = {
factor = 1.5
trait = cynical
}
modifier = {
factor = 1.5
trait = envious
}
modifier = {
factor = 1.5
trait = proud
}
# Intrigue based chance modifiers for ROOT
modifier = {
factor = 0.5
NOT = {
intrigue = 5
}
}
modifier = {
factor = 1.5
intrigue = 10
}
modifier = {
factor = 1.5
intrigue = 15
}
modifier = {
factor = 1.5
intrigue = 20
}
modifier = {
factor = 1.5
intrigue = 25
}
# Tooltip
custom_tooltip = {
text = join_holy_order_flee_TT

banish = yes
add_rival = FROM
}
}
}
}
}
}

ask_ursuline_for_help_ursuline = {
only_playable = yes
filter = independent_rulers
ai_target_filter = independent_rulers
third_party_filter = independent_rulers
show_third_party_potential = no
ai_check_interval = 60
from_potential = {
independent = yes
any_demesne_title = {
higher_tier_than = DUKE
region = custom_great_lakes
}
OR = {
religion = ursuline
religion = angeline
}
is_heretic = no
NOT = {
has_global_flag = northern_crusade_failure
}
NOT = {
has_character_flag = northern_crusade_asked_for_help
}
}

third_party_potential = {
FROMFROM = {
independent = yes
conditional_tooltip = {
trigger = {
NOR = {
d_st_ursulas_chosen = {
has_title_flag =
northern_crusade_target
}
k_ursuline_state = {
has_title_flag =
northern_crusade_target
}
}
}
higher_tier_than = COUNT
}
NOR = {
holy_order = yes
mercenary = yes
}
NOT = {
religion_group = christian
}
any_demesne_title = {
higher_tier_than = BARON
region = custom_great_lakes
}
NOT = {
reverse_has_truce = ROOT
}
OR = {
NOR = {
d_st_ursulas_chosen = {
has_title_flag = northern_crusade_target
}
k_ursuline_state = {
has_title_flag = northern_crusade_target
}
}
any_demesne_title = {
kingdom = {
has_title_flag =
northern_crusade_active_target
}
}
}
}
}

potential = {
has_global_flag = northern_crusades_active
OR = {
has_landed_title = d_st_ursulas_chosen
has_landed_title = k_ursuline_state
}
NOT = {
any_war = {
using_cb = northern_crusade_war
}
}
religion = FROM
}

allow = {
FROM = {
show_scope_change = no
piety = 200
#custom_tooltip = {
#text = northern_crusade_targeted_decision_TT
#d_st_ursulas_chosen = {
#holder_scope = {
#opinion = {
#who = PREVPREV
#value = 10
#}
#}
#}
#}
}
any_independent_ruler = {
conditional_tooltip = {
trigger = {
NOR = {
d_st_ursulas_chosen = {
has_title_flag =
northern_crusade_target
}
k_ursuline_state = {
has_title_flag =
northern_crusade_target
}
}
}
custom_tooltip = {
text = higher_tier_than_count_TT
higher_tier_than = COUNT
}
}
NOR = {
holy_order = yes
mercenary = yes
}
NOT = {
religion_group = christian
}
conditional_tooltip = {
trigger = {
OR = {
d_st_ursulas_chosen = {
has_title_flag =
northern_crusade_target
}
k_ursuline_state = {
has_title_flag =
northern_crusade_target
}
}
}
custom_tooltip = {
text = northern_crusade_fitting_title_TT
any_demesne_title = {
higher_tier_than = BARON
region = custom_great_lakes
kingdom = {
has_title_flag =
northern_crusade_active_target
}
}
}
}
conditional_tooltip = {
trigger = {
NOR = {
d_st_ursulas_chosen = {
has_title_flag =
northern_crusade_target
}
k_ursuline_state = {
has_title_flag =
northern_crusade_target
}
}
}
custom_tooltip = {
text = northern_crusade_fitting_title_02_TT
}
}
custom_tooltip = {
text = not_reverse_truce_TT
NOT = {
reverse_has_truce = ROOT
}
}
}
conditional_tooltip = {
trigger = {
FROM = {
has_character_modifier =
northern_crusade_targeted_decision_cooldown
}
}

custom_tooltip = {
text = northern_crusade_decision_cooldown_TT

FROM = {
NOT = {
has_character_modifier =
northern_crusade_targeted_decision_cooldown
}
}
}
}
}

effect = {
FROM = {
set_character_flag = northern_crusade_asked_for_help
save_event_target_as = northern_crusade_asker
}
FROMFROM = {
save_event_target_as = northern_crusade_potential_target
}
if = {
limit = {
is_title_active = d_st_ursulas_chosen
}
d_st_ursulas_chosen = {
owner = {
character_event = { id = HF.49105 }
}
}
}
else_if = {
limit = {
is_title_active = k_ursuline_state
}
k_ursuline_state = {
owner = {
character_event = { id = HF.49105 }
}
}
}
hidden_tooltip = {
FROM = {
add_character_modifier = {
name =
northern_crusade_targeted_decision_cooldown
hidden = yes
duration = 180
}
}
}
}
}
ask_ursuline_for_help_pagan = {
only_playable = yes
filter = independent_rulers
ai = no

from_potential = {
independent = yes
any_demesne_title = {
higher_tier_than = DUKE
region = custom_great_lakes
}
OR = {
religion = ursuline
religion = angeline
}
is_heretic = no
NOT = {
has_global_flag = northern_crusade_failure
}
NOT = {
has_character_flag = northern_crusade_asked_for_help
}
}

potential = {
has_global_flag = northern_crusades_active
independent = yes
conditional_tooltip = {
trigger = {
NOR = {
d_st_ursulas_chosen = {
has_title_flag = northern_crusade_target
}
k_ursuline_state = {
has_title_flag = northern_crusade_target
}
}
}
higher_tier_than = COUNT
}
OR = {
is_title_active = d_st_ursulas_chosen
is_title_active = k_ursuline_state
}
NOR = {
holy_order = yes
mercenary = yes
}
NOT = {
religion_group = christian
}
any_demesne_title = {
higher_tier_than = BARON
region = custom_great_lakes
}
NOR = {
d_st_ursulas_chosen = {
owner = {
has_truce = ROOT
}
}
k_ursuline_state = {
owner = {
has_truce = ROOT
}
}
}
OR = {
NOR = {
d_st_ursulas_chosen = {
has_title_flag = northern_crusade_target
}
k_ursuline_state = {
has_title_flag = northern_crusade_target
}
}
any_demesne_title = {
kingdom = {
has_title_flag = northern_crusade_active_target
}
}
}
NOR = {
d_st_ursulas_chosen = {
any_war = {
using_cb = northern_crusade_war
}
}
k_ursuline_state = {
any_war = {
using_cb = northern_crusade_war
}
}
}
}

allow = {
conditional_tooltip = {
trigger = {
is_title_active = d_st_ursulas_chosen
}
d_st_ursulas_chosen = {
show_scope_change = no
holder_scope = {
show_scope_change = no
religion = FROM
}
}
}
conditional_tooltip = {
trigger = {
is_title_active = k_ursuline_state
}
k_ursuline_state = {
show_scope_change = no
holder_scope = {
show_scope_change = no
religion = FROM
}
}
}
FROM = {
show_scope_change = no
piety = 200
#custom_tooltip = {
#text = northern_crusade_targeted_decision_TT
#d_teutonic_order = {
#holder_scope = {
#opinion = {
#who = PREVPREV
#value = 10
#}
#}
#}
#}
}
conditional_tooltip = {
trigger = {
NOR = {
d_st_ursulas_chosen = {
has_title_flag = northern_crusade_target
}
k_ursuline_state = {
has_title_flag = northern_crusade_target
}
}
}
higher_tier_than = COUNT
}
conditional_tooltip = {
trigger = {
FROM = {
has_character_modifier =
northern_crusade_targeted_decision_cooldown
}
}

custom_tooltip = {
text = northern_crusade_decision_cooldown_TT

FROM = {
NOT = {
has_character_modifier =
northern_crusade_targeted_decision_cooldown
}
}
}
}
conditional_tooltip = {
trigger = {
d_st_ursulas_chosen = {
has_title_flag = northern_crusade_target
}
is_title_active = d_st_ursulas_chosen
}
custom_tooltip = {
text =
northern_crusade_correct_kingdom_teutonic_order_TT

any_demesne_title = {
higher_tier_than = BARON
region = custom_great_lakes
kingdom = {
has_title_flag = northern_crusade_active_target

}
}
}
}
conditional_tooltip = {
trigger = {
k_ursuline_state = {
has_title_flag = northern_crusade_target
}
is_title_active = k_ursuline_state
}

custom_tooltip = {
text =
northern_crusade_correct_kingdom_teutonic_order_TT

any_demesne_title = {
higher_tier_than = BARON
region = custom_great_lakes
kingdom = {
has_title_flag = northern_crusade_active_target

}
}
}
}
conditional_tooltip = {
trigger = {
AND = {
is_title_active = d_st_ursulas_chosen
d_st_ursulas_chosen = {
owner = {
war = yes
}
}
}
}
custom_tooltip = {
text = teutonic_order_at_peace_TT

d_st_ursulas_chosen = {
owner = {
war = no
}
}
}
}
conditional_tooltip = {
trigger = {
AND = {
is_title_active = k_ursuline_state
k_ursuline_state = {
owner = {
war = yes
}
}
}
}
custom_tooltip = {
text = teutonic_state_at_peace_TT

k_ursuline_state = {
owner = {
war = no
}
}
}
}
conditional_tooltip = {
trigger = {
NOR = {
d_st_ursulas_chosen = {
has_title_flag = northern_crusade_target
}
k_ursuline_state = {
has_title_flag = northern_crusade_target
}
}
}
custom_tooltip = {
text = northern_crusade_fitting_title_02_TT
}
}
NOR = {
holy_order = yes
mercenary = yes
}
NOT = {
religion_group = christian
}
custom_tooltip = {
text = not_reverse_truce_TT
NOT = {
reverse_has_truce = ROOT
}
}
}

effect = {
FROM = {
set_character_flag = northern_crusade_asked_for_help
save_event_target_as = northern_crusade_asker
}
ROOT = {
save_event_target_as = northern_crusade_potential_target
}
if = {
limit = {
is_title_active = d_st_ursulas_chosen
}
d_st_ursulas_chosen = {
owner = {
character_event = { id = HF.49105 }
}
}
}
else_if = {
limit = {
is_title_active = k_ursuline_state
}
k_ursuline_state = {
owner = {
character_event = { id = HF.49105 }
}
}
}
hidden_tooltip = {
FROM = {
add_character_modifier = {
name =
northern_crusade_targeted_decision_cooldown
hidden = yes
duration = 180
}
}
}
}
}
}

Anda mungkin juga menyukai