Compare commits

...

2 commits

3 changed files with 416 additions and 416 deletions

View file

@ -61,17 +61,17 @@
# Tell the Romans to stop going adventuring into the steppe for no gods-damned reason.
multiply = byzantium_conquests_ai_score_value
#Declaring war on the frankokratia leader can really ruin the whole thing
if = {
limit = {
scope:defender = {
any_owned_story = {
story_type = frankokratia_story
NOT = { has_variable = franko_war_complete }
}
}
}
multiply = 0
}
# if = {
# limit = {
# scope:defender = {
# any_owned_story = {
# story_type = frankokratia_story
# NOT = { has_variable = franko_war_complete }
# }
# }
# }
# multiply = 0
# }
}
valid_to_start = {
@ -423,17 +423,17 @@ duchy_expansion_cb = {
# Tell the Romans to stop going adventuring into the steppe for no gods-damned reason.
multiply = byzantium_conquests_ai_score_value
#Declaring war on the frankokratia leader can really ruin the whole thing
if = {
limit = {
scope:defender = {
any_owned_story = {
story_type = frankokratia_story
NOT = { has_variable = franko_war_complete }
}
}
}
multiply = 0
}
# if = {
# limit = {
# scope:defender = {
# any_owned_story = {
# story_type = frankokratia_story
# NOT = { has_variable = franko_war_complete }
# }
# }
# }
# multiply = 0
# }
}
valid_to_start = {
@ -864,17 +864,17 @@ naval_expansion_cb = {
# Tell the Romans to stop going adventuring into the steppe for no gods-damned reason.
multiply = byzantium_conquests_ai_score_value
#Declaring war on the frankokratia leader can really ruin the whole thing
if = {
limit = {
scope:defender = {
any_owned_story = {
story_type = frankokratia_story
NOT = { has_variable = franko_war_complete }
}
}
}
multiply = 0
}
# if = {
# limit = {
# scope:defender = {
# any_owned_story = {
# story_type = frankokratia_story
# NOT = { has_variable = franko_war_complete }
# }
# }
# }
# multiply = 0
# }
}
# Target county has to be coastal and not border you.
@ -1236,17 +1236,17 @@ naval_duchy_expansion_cb = {
# Tell the Romans to stop going adventuring into the steppe for no gods-damned reason.
multiply = byzantium_conquests_ai_score_value
#Declaring war on the frankokratia leader can really ruin the whole thing
if = {
limit = {
scope:defender = {
any_owned_story = {
story_type = frankokratia_story
NOT = { has_variable = franko_war_complete }
}
}
}
multiply = 0
}
# if = {
# limit = {
# scope:defender = {
# any_owned_story = {
# story_type = frankokratia_story
# NOT = { has_variable = franko_war_complete }
# }
# }
# }
# multiply = 0
# }
}
# Target duchy must have counties that are coastal and doesn't border you.

View file

@ -1559,14 +1559,14 @@
house_bloc_tyranny_war_modifiers = yes
#Don't revoke titles from the frankokratia leader
modifier = {
scope:recipient = {
any_owned_story = {
type = frankokratia_story
NOT = { has_variable = franko_war_complete }
}
}
factor = 0
}
# modifier = {
# scope:recipient = {
# any_owned_story = {
# type = frankokratia_story
# NOT = { has_variable = franko_war_complete }
# }
# }
# factor = 0
# }
}
}

View file

@ -279,326 +279,326 @@ great_holy_war.0001 = {
}
}
}
#EP3 Redirected Crusade setup event
great_holy_war = {
if = {
limit = {
has_ep3_dlc_trigger = yes
scope:the_faith = { this = faith:roman_catholic }
ep3_frankokratia_ghw_trigger = yes
ep3_frankokratia_financier_exists_trigger = yes
}
#start with player
if = {
limit = {
any_player = {
ep3_frankokratia_story_owner_trigger = yes
}
}
random_player = {
limit = {
ep3_frankokratia_story_owner_trigger = yes
}
trigger_event = {
id = ep3_frankokratia_events.0001
days = 20
}
}
}
#Next, ai with a closely related claimant who will accept
else_if = {
limit = {
scope:the_faith = {
any_faith_playable_ruler = {
ep3_frankokratia_story_owner_trigger = yes
ep3_frankokratia_will_start_trigger = yes
save_temporary_scope_as = char_temp
#Thorough check for close relation claimants
OR = {
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
}
#In laws of family in court/realm
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
ep3_frankokratia_transiting_relative_trigger = yes
any_spouse = {
ep3_frankokratia_claimant_trigger = yes
}
}
#Spouse claimant
any_spouse = {
ep3_frankokratia_claimant_trigger = yes
}
#Spouse's close family in realm/court
any_spouse = {
ep3_frankokratia_transiting_relative_trigger = yes
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
ep3_frankokratia_claimant_trigger = yes
}
}
#friends
any_relation = {
type = friend
ep3_frankokratia_claimant_trigger = yes
}
#soulmates
any_relation = {
type = soulmate
ep3_frankokratia_claimant_trigger = yes
}
}
}
}
}
scope:the_faith = {
ordered_faith_playable_ruler = {
order_by = {
value = 0
add = current_military_strength
}
limit = {
ep3_frankokratia_story_owner_trigger = yes
ep3_frankokratia_will_start_trigger = yes
save_temporary_scope_as = char_temp
#Thorough check for close relation claimants
OR = {
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
}
#In laws of family in court/realm
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
ep3_frankokratia_transiting_relative_trigger = yes
any_spouse = {
ep3_frankokratia_claimant_trigger = yes
}
}
#Spouse claimant
any_spouse = {
ep3_frankokratia_claimant_trigger = yes
}
#Spouse's close family in realm/court
any_spouse = {
ep3_frankokratia_transiting_relative_trigger = yes
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
ep3_frankokratia_claimant_trigger = yes
}
}
#friends
any_relation = {
type = friend
ep3_frankokratia_claimant_trigger = yes
}
#soulmates
any_relation = {
type = soulmate
ep3_frankokratia_claimant_trigger = yes
}
}
}
trigger_event = {
id = ep3_frankokratia_events.0001
days = 20
}
}
}
}
#Someone with looser relation to claimant who will accept
else_if = {
limit = {
scope:the_faith = {
any_faith_playable_ruler = {
ep3_frankokratia_story_owner_trigger = yes
ep3_frankokratia_will_start_trigger = yes
}
}
}
scope:the_faith = {
ordered_faith_playable_ruler = {
order_by = {
value = 0
add = current_military_strength
}
limit = {
ep3_frankokratia_story_owner_trigger = yes
ep3_frankokratia_will_start_trigger = yes
}
trigger_event = {
id = ep3_frankokratia_events.0001
days = 20
}
}
}
}
#Next, ai with a closely related claimant who might not accept
else_if = {
limit = {
scope:the_faith = {
any_faith_playable_ruler = {
ep3_frankokratia_story_owner_trigger = yes
save_temporary_scope_as = char_temp
#Thorough check for close relation claimants
OR = {
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
}
#In laws of family in court/realm
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
ep3_frankokratia_transiting_relative_trigger = yes
any_spouse = {
ep3_frankokratia_claimant_trigger = yes
}
}
#Spouse claimant
any_spouse = {
ep3_frankokratia_claimant_trigger = yes
}
#Spouse's close family in realm/court
any_spouse = {
ep3_frankokratia_transiting_relative_trigger = yes
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
ep3_frankokratia_claimant_trigger = yes
}
}
#friends
any_relation = {
type = friend
ep3_frankokratia_claimant_trigger = yes
}
#soulmates
any_relation = {
type = soulmate
ep3_frankokratia_claimant_trigger = yes
}
}
}
}
}
scope:the_faith = {
ordered_faith_playable_ruler = {
order_by = {
value = 0
add = current_military_strength
}
limit = {
ep3_frankokratia_story_owner_trigger = yes
save_temporary_scope_as = char_temp
#Thorough check for close relation claimants
OR = {
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
}
#In laws of family in court/realm
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
ep3_frankokratia_transiting_relative_trigger = yes
any_spouse = {
ep3_frankokratia_claimant_trigger = yes
}
}
#Spouse claimant
any_spouse = {
ep3_frankokratia_claimant_trigger = yes
}
#Spouse's close family in realm/court
any_spouse = {
ep3_frankokratia_transiting_relative_trigger = yes
any_close_family_member = {
OR = {
is_courtier_of = prev
is_vassal_of = prev
}
ep3_frankokratia_claimant_trigger = yes
}
}
#friends
any_relation = {
type = friend
ep3_frankokratia_claimant_trigger = yes
}
#soulmates
any_relation = {
type = soulmate
ep3_frankokratia_claimant_trigger = yes
}
}
}
trigger_event = {
id = ep3_frankokratia_events.0001
days = 20
}
}
}
}
#Someone with looser relation to claimant who might not accept
else_if = {
limit = {
scope:the_faith = {
any_faith_playable_ruler = {
ep3_frankokratia_story_owner_trigger = yes
}
}
}
scope:the_faith = {
ordered_faith_playable_ruler = {
order_by = {
value = 0
add = current_military_strength
}
limit = {
ep3_frankokratia_story_owner_trigger = yes
}
trigger_event = {
id = ep3_frankokratia_events.0001
days = 20
}
}
}
}
}
}
# #EP3 Redirected Crusade setup event
# great_holy_war = {
# if = {
# limit = {
# has_ep3_dlc_trigger = yes
# scope:the_faith = { this = faith:roman_catholic }
# ep3_frankokratia_ghw_trigger = yes
# ep3_frankokratia_financier_exists_trigger = yes
# }
# #start with player
# if = {
# limit = {
# any_player = {
# ep3_frankokratia_story_owner_trigger = yes
# }
# }
# random_player = {
# limit = {
# ep3_frankokratia_story_owner_trigger = yes
# }
# trigger_event = {
# id = ep3_frankokratia_events.0001
# days = 20
# }
# }
# }
# #Next, ai with a closely related claimant who will accept
# else_if = {
# limit = {
# scope:the_faith = {
# any_faith_playable_ruler = {
# ep3_frankokratia_story_owner_trigger = yes
# ep3_frankokratia_will_start_trigger = yes
# save_temporary_scope_as = char_temp
#
# #Thorough check for close relation claimants
# OR = {
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# }
# #In laws of family in court/realm
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# ep3_frankokratia_transiting_relative_trigger = yes
# any_spouse = {
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# #Spouse claimant
# any_spouse = {
# ep3_frankokratia_claimant_trigger = yes
# }
# #Spouse's close family in realm/court
# any_spouse = {
# ep3_frankokratia_transiting_relative_trigger = yes
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# #friends
# any_relation = {
# type = friend
# ep3_frankokratia_claimant_trigger = yes
# }
# #soulmates
# any_relation = {
# type = soulmate
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# }
# }
# }
# scope:the_faith = {
# ordered_faith_playable_ruler = {
# order_by = {
# value = 0
# add = current_military_strength
# }
# limit = {
# ep3_frankokratia_story_owner_trigger = yes
# ep3_frankokratia_will_start_trigger = yes
# save_temporary_scope_as = char_temp
#
# #Thorough check for close relation claimants
# OR = {
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# }
# #In laws of family in court/realm
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# ep3_frankokratia_transiting_relative_trigger = yes
# any_spouse = {
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# #Spouse claimant
# any_spouse = {
# ep3_frankokratia_claimant_trigger = yes
# }
# #Spouse's close family in realm/court
# any_spouse = {
# ep3_frankokratia_transiting_relative_trigger = yes
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# #friends
# any_relation = {
# type = friend
# ep3_frankokratia_claimant_trigger = yes
# }
# #soulmates
# any_relation = {
# type = soulmate
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# }
# trigger_event = {
# id = ep3_frankokratia_events.0001
# days = 20
# }
# }
# }
# }
# #Someone with looser relation to claimant who will accept
# else_if = {
# limit = {
# scope:the_faith = {
# any_faith_playable_ruler = {
# ep3_frankokratia_story_owner_trigger = yes
# ep3_frankokratia_will_start_trigger = yes
# }
# }
# }
# scope:the_faith = {
# ordered_faith_playable_ruler = {
# order_by = {
# value = 0
# add = current_military_strength
# }
# limit = {
# ep3_frankokratia_story_owner_trigger = yes
# ep3_frankokratia_will_start_trigger = yes
# }
# trigger_event = {
# id = ep3_frankokratia_events.0001
# days = 20
# }
# }
# }
# }
# #Next, ai with a closely related claimant who might not accept
# else_if = {
# limit = {
# scope:the_faith = {
# any_faith_playable_ruler = {
# ep3_frankokratia_story_owner_trigger = yes
# save_temporary_scope_as = char_temp
#
# #Thorough check for close relation claimants
# OR = {
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# }
# #In laws of family in court/realm
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# ep3_frankokratia_transiting_relative_trigger = yes
# any_spouse = {
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# #Spouse claimant
# any_spouse = {
# ep3_frankokratia_claimant_trigger = yes
# }
# #Spouse's close family in realm/court
# any_spouse = {
# ep3_frankokratia_transiting_relative_trigger = yes
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# #friends
# any_relation = {
# type = friend
# ep3_frankokratia_claimant_trigger = yes
# }
# #soulmates
# any_relation = {
# type = soulmate
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# }
# }
# }
# scope:the_faith = {
# ordered_faith_playable_ruler = {
# order_by = {
# value = 0
# add = current_military_strength
# }
# limit = {
# ep3_frankokratia_story_owner_trigger = yes
# save_temporary_scope_as = char_temp
#
# #Thorough check for close relation claimants
# OR = {
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# }
# #In laws of family in court/realm
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# ep3_frankokratia_transiting_relative_trigger = yes
# any_spouse = {
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# #Spouse claimant
# any_spouse = {
# ep3_frankokratia_claimant_trigger = yes
# }
# #Spouse's close family in realm/court
# any_spouse = {
# ep3_frankokratia_transiting_relative_trigger = yes
# any_close_family_member = {
# OR = {
# is_courtier_of = prev
# is_vassal_of = prev
# }
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# #friends
# any_relation = {
# type = friend
# ep3_frankokratia_claimant_trigger = yes
# }
# #soulmates
# any_relation = {
# type = soulmate
# ep3_frankokratia_claimant_trigger = yes
# }
# }
# }
# trigger_event = {
# id = ep3_frankokratia_events.0001
# days = 20
# }
# }
# }
# }
# #Someone with looser relation to claimant who might not accept
# else_if = {
# limit = {
# scope:the_faith = {
# any_faith_playable_ruler = {
# ep3_frankokratia_story_owner_trigger = yes
# }
# }
# }
# scope:the_faith = {
# ordered_faith_playable_ruler = {
# order_by = {
# value = 0
# add = current_military_strength
# }
# limit = {
# ep3_frankokratia_story_owner_trigger = yes
# }
# trigger_event = {
# id = ep3_frankokratia_events.0001
# days = 20
# }
# }
# }
# }
# }
# }
if = {
limit = {
NOT = {
@ -809,49 +809,49 @@ great_holy_war.0005 = {
scope = ghw
immediate = {
if = {
limit = {
any_pledged_attacker = {
primary_title = { is_head_of_faith = yes }
religion = religion:catholic_religion
}
exists = global_var:byz_claimant_champion
global_var:byz_claimant_champion = {
is_alive = yes
is_ruler = yes
any_owned_story = {
type = frankokratia_story
}
}
exists = title:e_byzantium.holder
}
#Check claimant isn't dead, invalidate if they are
if = {
limit = {
global_var:byz_claimant_champion = {
any_owned_story = {
type = frankokratia_story
var:byz_claimant = { is_alive = no }
}
}
}
global_var:byz_claimant_champion = {
random_owned_story = {
type = frankokratia_story
every_in_list = {
variable = frankokratia_leaders
limit = {
is_ai = no
}
trigger_event = ep3_frankokratia_events.0005
}
}
}
}
else = {
ep3_frankokratia_remove_pledged_attackers_effect = yes
}
}
# if = {
# limit = {
# any_pledged_attacker = {
# primary_title = { is_head_of_faith = yes }
# religion = religion:catholic_religion
# }
# exists = global_var:byz_claimant_champion
# global_var:byz_claimant_champion = {
# is_alive = yes
# is_ruler = yes
# any_owned_story = {
# type = frankokratia_story
# }
# }
# exists = title:e_byzantium.holder
# }
# #Check claimant isn't dead, invalidate if they are
# if = {
# limit = {
# global_var:byz_claimant_champion = {
# any_owned_story = {
# type = frankokratia_story
# var:byz_claimant = { is_alive = no }
# }
# }
# }
# global_var:byz_claimant_champion = {
# random_owned_story = {
# type = frankokratia_story
# every_in_list = {
# variable = frankokratia_leaders
# limit = {
# is_ai = no
# }
# trigger_event = ep3_frankokratia_events.0005
# }
# }
# }
# }
# else = {
# ep3_frankokratia_remove_pledged_attackers_effect = yes
# }
# }
start_ghw_war = undirected_great_holy_war
divide_war_chest = {