From 474bd9f3ef7801af12df05288a8d3ca8fe32768c Mon Sep 17 00:00:00 2001 From: Heidesommer Date: Thu, 3 Sep 2026 05:41:44 -0400 Subject: [PATCH] Comment out more unused stuff --- common/casus_belli_types/07_ep3_admin_cbs.txt | 88 +-- .../00_revoke_title_interaction.txt | 18 +- .../religion_events/great_holy_war_events.txt | 726 +++++++++--------- 3 files changed, 416 insertions(+), 416 deletions(-) diff --git a/common/casus_belli_types/07_ep3_admin_cbs.txt b/common/casus_belli_types/07_ep3_admin_cbs.txt index 0602d5036..eedda79c3 100644 --- a/common/casus_belli_types/07_ep3_admin_cbs.txt +++ b/common/casus_belli_types/07_ep3_admin_cbs.txt @@ -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. diff --git a/common/character_interactions/00_revoke_title_interaction.txt b/common/character_interactions/00_revoke_title_interaction.txt index 6a51ecd83..167be81aa 100644 --- a/common/character_interactions/00_revoke_title_interaction.txt +++ b/common/character_interactions/00_revoke_title_interaction.txt @@ -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 +# } } } diff --git a/events/religion_events/great_holy_war_events.txt b/events/religion_events/great_holy_war_events.txt index 28999e24a..fd2bbad34 100644 --- a/events/religion_events/great_holy_war_events.txt +++ b/events/religion_events/great_holy_war_events.txt @@ -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 = {