innovation fix

This commit is contained in:
Fishedotjpg 2026-10-31 00:01:39 +00:00
parent 098b458b07
commit 5f957c44a2
57 changed files with 29276 additions and 852 deletions

View file

@ -271,7 +271,7 @@ can_keep_partition_succession_law_trigger = {
can_have_partition_succession_law_trigger = {
culture = {
has_innovation = innovation_hereditary_rule
has_innovation = innovation_gavelkind
}
custom_description = {
text = succession_laws_must_have_organised_government_tooltip

View file

@ -7,34 +7,19 @@ fp2_should_use_iberian_graphics_trigger = {
}
fp2_character_any_involvement_iberian_struggle_trigger = {
has_fp2_dlc_trigger = yes
OR = {
fp2_character_involved_in_struggle_trigger = yes
fp2_character_interloper_in_struggle_trigger = yes
}
always = no
}
fp2_character_involved_in_struggle_trigger = {
has_fp2_dlc_trigger = yes
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
}
always = no
}
fp2_character_interloper_in_struggle_trigger = {
has_fp2_dlc_trigger = yes
any_character_struggle = {
involvement = interloper
is_struggle_type = iberian_struggle
}
always = no
}
fp2_character_uninvolved_in_struggle_trigger = {
has_fp2_dlc_trigger = yes
exists = struggle:iberian_struggle
fp2_character_interloper_in_struggle_trigger = no
fp2_character_involved_in_struggle_trigger = no
always = no
}
eligible_for_fp2_dynasty_legacies_trigger = {
@ -42,10 +27,6 @@ eligible_for_fp2_dynasty_legacies_trigger = {
dynasty.dynast = {
OR = {
game_rule_unrestricted_dynasty_legacies_trigger = yes
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
}
culture = {
has_cultural_pillar = heritage_iberian
}
@ -259,21 +240,7 @@ fp2_struggle_ending_percent_iberia_trigger = {
# Checks no more than half of Iberia is owned by another
fp2_struggle_ending_other_percent_iberia_trigger = {
struggle:iberian_struggle = {
NOT = {
any_involved_ruler = {
exists = primary_title # Max figured out that is_independent_ruler causes errors if you are unlanded
this != root
top_liege = this
primary_title = { is_mercenary_company = no }
any_county_in_region = {
region = world_europe_west_iberia
percent > fp2_struggle_compromise_involved_percent_decimal_value
holder.top_liege = prev
}
}
}
}
always = no
}
# Checks duchy is held by an independent ruler who owns at least half of it
@ -512,13 +479,7 @@ fp2_struggle_secure_iberian_foothold_neighbor_with_outsider_kingdom_trigger = {
}
fp2_struggle_iberian_reclamation_should_vassalize_trigger = {
any_character_struggle = { is_struggle_type = iberian_struggle }
any_held_title = { tier < scope:attacker.primary_title.tier }
any_realm_county = {
count = all
duchy = { is_in_list = target_titles }
any_county_struggle = { is_struggle_type = iberian_struggle }
}
always = no
}
fp2_struggle_any_realm_county_in_hispania_trigger = {
@ -526,38 +487,15 @@ fp2_struggle_any_realm_county_in_hispania_trigger = {
}
fp2_iberian_reclamation_vassalize_iberian_trigger = {
tier = tier_county
holder = {
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
}
liege = scope:defender
this != scope:defender
capital_county = {
any_county_struggle = { is_struggle_type = iberian_struggle }
}
}
always = no
}
fp2_iberian_reclamation_involved_county_trigger = {
any_realm_county = {
any_county_struggle = { is_struggle_type = iberian_struggle }
}
always = no
}
fp2_iberian_reclamation_vassalize_vassal_trigger = {
primary_title.tier >= tier_county
primary_title.tier < scope:attacker.primary_title.tier
any_character_struggle = { is_struggle_type = iberian_struggle }
capital_county = {
duchy = { is_in_list = target_titles }
}
any_sub_realm_county = {
count = all
duchy = { is_in_list = target_titles }
any_county_struggle = { is_struggle_type = iberian_struggle }
}
always = no
}
fp2_struggle_enforce_truce_war_leader_trigger = {
@ -599,8 +537,7 @@ fp2_bargain_fealty_war_losing_trigger = {
# We use a hard trigger so that this can be easily adjusted without overwriting the rest of the fp2_interactions file by modders.
struggle_can_access_unlocks_bargain_fealty_interaction_trigger = {
# Just uhh, use an OR if you add something else.
is_struggle_type = iberian_struggle
always = no
}
##################################################

View file

@ -4219,23 +4219,7 @@ valid_holy_war_incited_attacker_trigger = {
save_temporary_scope_as = defender
}
save_temporary_scope_as = attacker
trigger_if = {
limit = {
scope:attacker = {
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
}
}
scope:defender = {
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
}
}
}
are_holy_wars_disabled_in_struggle_phase_trigger = yes
}
}
pam_clergy_title_interaction_player_recipient_auto_accept_trigger = {
scope:secondary_recipient = { save_temporary_scope_as = cleric }