Compare commits

...

13 commits

4 changed files with 5754 additions and 51 deletions

View file

@ -23,10 +23,6 @@
cooldown_against_recipient = { years = 3 }
is_available = {
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
trigger_if = {
limit = { is_ai = yes }
OR = {
@ -34,28 +30,38 @@
AND = {
has_character_flag = forming_confederation
highest_held_title_tier < tier_kingdom
is_independent_ruler = yes
}
}
age >= 6
}
is_playable_character = yes
OR = {
is_independent_ruler = yes
confederation ?= { is_house_based = no }
}
}
is_shown = {
scope:recipient = {
is_playable_character = yes
is_independent_ruler = yes
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
NOT = { this = scope:actor }
}
OR ={
AND = {
scope:recipient = {
is_independent_ruler = yes
}
scope:actor = {
is_independent_ruler = yes
}
}
scope:actor = {
AND = {
is_independent_ruler = no
liege = {
any_vassal = {
this = scope:recipient
}
}
}
}
}
}
is_valid_showing_failures_only = {
@ -9306,19 +9312,33 @@ join_confederation_interaction = {
cooldown_against_recipient = { years = 3 }
is_available = {
is_independent_ruler = yes
is_landed = yes
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
highest_held_title_tier <= tier_duchy
is_playable_character = yes
is_confederation_member = no
}
is_shown = {
scope:recipient.confederation ?= { is_house_based = no }
OR ={
AND = {
scope:recipient = {
is_independent_ruler = yes
}
scope:actor = {
is_independent_ruler = yes
}
}
scope:actor = {
AND = {
is_independent_ruler = no
scope:recipient = {
liege = {
this = scope:actor.liege
}
}
}
}
}
}
is_valid_showing_failures_only = {

View file

@ -18,7 +18,6 @@ call_for_confederation_decision = {
selection_tooltip = call_for_confederation_decision_tooltip
is_shown = {
is_independent_ruler = yes
highest_held_title_tier <= tier_duchy
NOR = {
is_confederation_member = yes
@ -28,7 +27,6 @@ call_for_confederation_decision = {
}
is_valid = {
is_independent_ruler = yes
highest_held_title_tier <= tier_duchy
is_tributary = no
trigger_if = {
@ -47,6 +45,10 @@ call_for_confederation_decision = {
has_realm_law = tribal_authority_2
has_realm_law = crown_authority_0
has_realm_law = crown_authority_1
has_realm_law = crown_authority_2
has_realm_law = imperial_bureaucracy_0
has_realm_law = imperial_bureaucracy_1
has_realm_law = imperial_bureaucracy_2
}
}
NOR = {
@ -64,6 +66,29 @@ call_for_confederation_decision = {
OR = {
has_trait = diplomat
has_trait = family_first
has_trait = education_diplomacy_4
has_trait = education_diplomacy_5
AND = {
is_independent_ruler = no
OR ={
has_trait = education_stewardship_5
has_trait = education_stewardship_4
has_trait = education_intrigue_5
has_trait = education_intrigue_4
has_trait = education_martial_4
has_trait = education_martial_5
has_trait = education_martial_4
has_trait = education_martial_5
has_trait = gregarious
has_trait = intellect_good_1
has_trait = intellect_good_2
has_trait = intellect_good_3
has_trait = diligent
has_trait = shrewd
prestige_level > 3
piety_level > 3
}
}
confederation_foe_trigger = { CHARACTER = root }
}
}
@ -167,7 +192,6 @@ call_for_confederation_decision = {
}
ai_potential = {
is_independent_ruler = yes
highest_held_title_tier <= tier_duchy
is_tributary = no
is_playable_character = yes
@ -353,10 +377,6 @@ call_for_confederation_decision = {
}
}
}
modifier = {
add = -100
prestige <= medium_prestige_value # You cannot afford this
}
#Another confederation of your culture already exists
modifier = {
any_confederation = {
@ -365,14 +385,6 @@ call_for_confederation_decision = {
}
factor = 0.05
}
#There's already another confederation nearby
modifier = {
any_confederation = {
is_house_based = no # any_confederation_member is not performant for house blocs
any_confederation_member = { in_diplomatic_range = root }
}
factor = 0.1
}
modifier = {
add = 300
culture = { has_cultural_parameter = forming_confederations_is_easier }
@ -495,7 +507,6 @@ leave_confederation_decision = {
ai_potential = {
is_confederation_member = yes
is_independent_ruler = no
age >= 12
is_at_war = no
is_incapable = no
@ -672,13 +683,6 @@ leave_confederation_decision = {
}
add = 100
}
modifier = { #Is wrong government type
NOR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_in_steppe
}
add = 50
}
modifier = { # Isolationist tradition
confederation = {
any_confederation_member = {

File diff suppressed because it is too large Load diff

View file

@ -21,7 +21,6 @@ valid_confederation_member_trigger = {
is_playable_character = yes
is_tributary = no
is_landed = yes
is_independent_ruler = yes
is_alive = yes
NOR = {
has_trait = conqueror
@ -48,13 +47,6 @@ valid_confederation_member_trigger = {
}
}
}
custom_tooltip = {
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
}
text = is_nomadic_or_tribal_tt
}
is_confederation_member = no
}