factions
This commit is contained in:
parent
f866dd83d0
commit
05d852ffc5
4 changed files with 314 additions and 54 deletions
|
|
@ -165,6 +165,54 @@
|
||||||
add = 15
|
add = 15
|
||||||
desc = is_disbelieved_mandala
|
desc = is_disbelieved_mandala
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# GDP - High tier republic vassals with a republic liege wants to form their own republic
|
||||||
|
modifier = {
|
||||||
|
government_has_flag = government_is_republic
|
||||||
|
highest_held_title_tier > tier_county
|
||||||
|
highest_liege_matching_rule:uses_assembly ?= scope:target
|
||||||
|
NOT = { has_trait = loyal }
|
||||||
|
tier_difference = {
|
||||||
|
target = scope:target
|
||||||
|
value < 0
|
||||||
|
}
|
||||||
|
add = {
|
||||||
|
value = 25
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
tier_difference = {
|
||||||
|
target = scope:target
|
||||||
|
value = -1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add = 75
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
opinion = {
|
||||||
|
target = scope:target
|
||||||
|
value < 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add = 25
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = { has_trait = ambitious }
|
||||||
|
add = 25
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
house ?= { has_house_aspiration_parameter = republic_agitation }
|
||||||
|
}
|
||||||
|
add = 50
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = { has_trait = disloyal }
|
||||||
|
multiply = 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
desc = republic_vassal_wants_to_form_own_republic_value_desc
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ai_join_score = {
|
ai_join_score = {
|
||||||
|
|
@ -243,7 +291,7 @@
|
||||||
#EP3 admin legitimacy event
|
#EP3 admin legitimacy event
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
||||||
add = 15
|
add = 25
|
||||||
scope:faction = {
|
scope:faction = {
|
||||||
any_faction_member = {
|
any_faction_member = {
|
||||||
has_character_flag = low_legitimacy_admin_factions_flag
|
has_character_flag = low_legitimacy_admin_factions_flag
|
||||||
|
|
@ -260,6 +308,54 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# GDP - High tier republic vassals with a republic liege wants to form their own republic
|
||||||
|
modifier = {
|
||||||
|
government_has_flag = government_is_republic
|
||||||
|
highest_held_title_tier > tier_county
|
||||||
|
highest_liege_matching_rule:uses_assembly ?= scope:faction.faction_target
|
||||||
|
NOT = { has_trait = loyal }
|
||||||
|
tier_difference = {
|
||||||
|
target = scope:faction.faction_target
|
||||||
|
value < 0
|
||||||
|
}
|
||||||
|
add = {
|
||||||
|
value = 25
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
tier_difference = {
|
||||||
|
target = scope:faction.faction_target
|
||||||
|
value = -1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add = 75
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
opinion = {
|
||||||
|
target = scope:faction.faction_target
|
||||||
|
value < 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add = 25
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = { has_trait = ambitious }
|
||||||
|
add = 25
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
house ?= { has_house_aspiration_parameter = republic_agitation }
|
||||||
|
}
|
||||||
|
add = 50
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = { has_trait = disloyal }
|
||||||
|
multiply = 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
desc = republic_vassal_wants_to_form_own_republic_value_desc
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
is_character_valid = {
|
is_character_valid = {
|
||||||
|
|
@ -330,6 +426,20 @@
|
||||||
subject = this
|
subject = this
|
||||||
tgp_is_any_minister = no
|
tgp_is_any_minister = no
|
||||||
}
|
}
|
||||||
|
#GG Situation
|
||||||
|
custom_description = {
|
||||||
|
text = is_part_of_gg_situation_desc
|
||||||
|
title_province_is_part_of_gg_in_northern_italy_trigger = no
|
||||||
|
}
|
||||||
|
gdp_merchant_may_wage_independence_war_trigger = yes
|
||||||
|
# GDP - Republic count restriction
|
||||||
|
trigger_if = {
|
||||||
|
limit = {
|
||||||
|
government_has_flag = government_is_republic
|
||||||
|
this != highest_liege_matching_rule:uses_assembly
|
||||||
|
}
|
||||||
|
highest_held_title_tier >= tier_duchy
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
can_character_create = {
|
can_character_create = {
|
||||||
|
|
@ -413,6 +523,17 @@
|
||||||
subject = this
|
subject = this
|
||||||
tgp_is_any_minister = no
|
tgp_is_any_minister = no
|
||||||
}
|
}
|
||||||
|
#GG Situation
|
||||||
|
title_province_is_part_of_gg_in_northern_italy_trigger = no
|
||||||
|
gdp_merchant_may_wage_independence_war_trigger = yes
|
||||||
|
# GDP - Republic count restriction
|
||||||
|
trigger_if = {
|
||||||
|
limit = {
|
||||||
|
government_has_flag = government_is_republic
|
||||||
|
this != highest_liege_matching_rule:uses_assembly
|
||||||
|
}
|
||||||
|
highest_held_title_tier >= tier_duchy
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
can_character_join = {
|
can_character_join = {
|
||||||
|
|
@ -468,6 +589,20 @@
|
||||||
subject = this
|
subject = this
|
||||||
tgp_is_any_minister = no
|
tgp_is_any_minister = no
|
||||||
}
|
}
|
||||||
|
#GG Situation
|
||||||
|
custom_description = {
|
||||||
|
text = is_part_of_gg_situation_desc
|
||||||
|
title_province_is_part_of_gg_in_northern_italy_trigger = no
|
||||||
|
}
|
||||||
|
gdp_merchant_may_wage_independence_war_trigger = yes
|
||||||
|
# GDP - Republic count restriction
|
||||||
|
trigger_if = {
|
||||||
|
limit = {
|
||||||
|
government_has_flag = government_is_republic
|
||||||
|
this != highest_liege_matching_rule:uses_assembly
|
||||||
|
}
|
||||||
|
highest_held_title_tier >= tier_duchy
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
can_character_become_leader = {
|
can_character_become_leader = {
|
||||||
|
|
@ -798,7 +933,7 @@ liberty_faction = {
|
||||||
#EP3 admin legitimacy event
|
#EP3 admin legitimacy event
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
||||||
add = 15
|
add = 25
|
||||||
scope:faction = {
|
scope:faction = {
|
||||||
any_faction_member = {
|
any_faction_member = {
|
||||||
has_character_flag = low_legitimacy_admin_factions_flag
|
has_character_flag = low_legitimacy_admin_factions_flag
|
||||||
|
|
@ -1095,7 +1230,7 @@ claimant_faction = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# TGP - Use Coup against prime_minister instead
|
# TGP - Use Coup against Kampaku instead
|
||||||
trigger_if = {
|
trigger_if = {
|
||||||
limit = {
|
limit = {
|
||||||
scope:faction.faction_target ?= top_liege
|
scope:faction.faction_target ?= top_liege
|
||||||
|
|
@ -1114,11 +1249,11 @@ claimant_faction = {
|
||||||
}
|
}
|
||||||
# Bloc Cohesion requirement
|
# Bloc Cohesion requirement
|
||||||
japan_faction_cohesion_trigger = yes
|
japan_faction_cohesion_trigger = yes
|
||||||
# TGP - Use Coup against prime_minister instead
|
# TGP - Use Coup against Kampaku instead
|
||||||
custom_tooltip = {
|
custom_tooltip = {
|
||||||
text = cannot_create_claimant_faction_against_prime_minister_tooltip
|
text = cannot_create_claimant_faction_against_prime_minister_tooltip
|
||||||
scope:target = {
|
scope:target = {
|
||||||
# TGP - Use Coup against prime_minister instead
|
# TGP - Use Coup against Kampaku instead
|
||||||
tgp_is_ceremonial_regent_trigger = no
|
tgp_is_ceremonial_regent_trigger = no
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1132,7 +1267,7 @@ claimant_faction = {
|
||||||
# Bloc Cohesion requirement
|
# Bloc Cohesion requirement
|
||||||
japan_faction_cohesion_trigger = yes
|
japan_faction_cohesion_trigger = yes
|
||||||
|
|
||||||
# TGP - Use Coup against prime_minister instead
|
# TGP - Use Coup against Kampaku instead
|
||||||
trigger_if = {
|
trigger_if = {
|
||||||
limit = {
|
limit = {
|
||||||
exists = joined_faction
|
exists = joined_faction
|
||||||
|
|
@ -1144,7 +1279,7 @@ claimant_faction = {
|
||||||
tgp_is_ceremonial_regent_trigger = no
|
tgp_is_ceremonial_regent_trigger = no
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# TGP - Use Coup against prime_minister instead
|
# TGP - Use Coup against Kampaku instead
|
||||||
trigger_else_if = {
|
trigger_else_if = {
|
||||||
limit = {
|
limit = {
|
||||||
has_variable = claiming_title
|
has_variable = claiming_title
|
||||||
|
|
@ -1261,7 +1396,7 @@ claimant_faction = {
|
||||||
|
|
||||||
modifier = { # CE1 Divine Mandate perk
|
modifier = { # CE1 Divine Mandate perk
|
||||||
desc = "FACTION_REASON_LEGITIMACY_LEGACY_4"
|
desc = "FACTION_REASON_LEGITIMACY_LEGACY_4"
|
||||||
liege.dynasty = { has_dynasty_perk = ce1_legitimacy_legacy_4 }
|
liege.dynasty ?= { has_dynasty_perk = ce1_legitimacy_legacy_4 }
|
||||||
add = -10
|
add = -10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1270,7 +1405,7 @@ claimant_faction = {
|
||||||
#EP3 admin legitimacy event
|
#EP3 admin legitimacy event
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
||||||
add = 15
|
add = 25
|
||||||
scope:faction = {
|
scope:faction = {
|
||||||
any_faction_member = {
|
any_faction_member = {
|
||||||
has_character_flag = low_legitimacy_admin_factions_flag
|
has_character_flag = low_legitimacy_admin_factions_flag
|
||||||
|
|
@ -1320,7 +1455,7 @@ claimant_faction = {
|
||||||
scope:faction.faction_target.culture != this.title_province.culture
|
scope:faction.faction_target.culture != this.title_province.culture
|
||||||
scope:faction.special_character.culture = this.title_province.culture
|
scope:faction.special_character.culture = this.title_province.culture
|
||||||
}
|
}
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -2.0
|
multiplier = -2.0
|
||||||
}
|
}
|
||||||
compare_modifier = {
|
compare_modifier = {
|
||||||
|
|
@ -1329,7 +1464,7 @@ claimant_faction = {
|
||||||
NOT = { this.title_province.culture = { has_same_culture_heritage = scope:faction.faction_target.culture } }
|
NOT = { this.title_province.culture = { has_same_culture_heritage = scope:faction.faction_target.culture } }
|
||||||
this.title_province.culture = { has_same_culture_heritage = scope:faction.special_character.culture }
|
this.title_province.culture = { has_same_culture_heritage = scope:faction.special_character.culture }
|
||||||
}
|
}
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -2.0
|
multiplier = -2.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1343,7 +1478,7 @@ claimant_faction = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = {
|
multiplier = {
|
||||||
value = 0.0
|
value = 0.0
|
||||||
if = {
|
if = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
nation_fracturing_faction = {
|
# I.e. Dissolution Faction
|
||||||
|
nation_fracturing_faction = {
|
||||||
casus_belli = nation_fracturing_faction_war
|
casus_belli = nation_fracturing_faction_war
|
||||||
|
|
||||||
short_effect_desc = nation_fracturing_faction_short_effect_desc
|
short_effect_desc = nation_fracturing_faction_short_effect_desc
|
||||||
|
|
@ -129,6 +130,16 @@
|
||||||
NOT = { faith.religion = religion:islam_religion }
|
NOT = { faith.religion = religion:islam_religion }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#GG Situation
|
||||||
|
custom_description = {
|
||||||
|
text = is_part_of_gg_situation_desc
|
||||||
|
title_province_is_part_of_gg_in_northern_italy_trigger = no
|
||||||
|
}
|
||||||
|
|
||||||
|
# GDP - Republics are not valid targets
|
||||||
|
scope:target ?= {
|
||||||
|
NOT = { government_has_flag = government_is_republic }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
can_character_create = {
|
can_character_create = {
|
||||||
|
|
@ -184,6 +195,13 @@
|
||||||
NOT = { faith.religion = religion:islam_religion }
|
NOT = { faith.religion = religion:islam_religion }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#GG Situation
|
||||||
|
title_province_is_part_of_gg_in_northern_italy_trigger = no
|
||||||
|
|
||||||
|
# GDP - Republics are not valid targets
|
||||||
|
scope:target ?= {
|
||||||
|
NOT = { government_has_flag = government_is_republic }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ai_create_score = {
|
ai_create_score = {
|
||||||
|
|
@ -258,6 +276,11 @@
|
||||||
NOT = { faith.religion = religion:islam_religion }
|
NOT = { faith.religion = religion:islam_religion }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#GG Situation
|
||||||
|
custom_description = {
|
||||||
|
text = is_part_of_gg_situation_desc
|
||||||
|
title_province_is_part_of_gg_in_northern_italy_trigger = no
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
can_character_become_leader = {
|
can_character_become_leader = {
|
||||||
|
|
@ -312,7 +335,7 @@
|
||||||
#EP3 admin legitimacy event
|
#EP3 admin legitimacy event
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
||||||
add = 15
|
add = 25
|
||||||
scope:faction = {
|
scope:faction = {
|
||||||
any_faction_member = {
|
any_faction_member = {
|
||||||
has_character_flag = low_legitimacy_admin_factions_flag
|
has_character_flag = low_legitimacy_admin_factions_flag
|
||||||
|
|
@ -359,8 +382,8 @@
|
||||||
county_join_score = {
|
county_join_score = {
|
||||||
base = 0
|
base = 0
|
||||||
compare_modifier = {
|
compare_modifier = {
|
||||||
desc = "FACTION_REASON_COUNTY_OPINION"
|
desc = "FACTION_REASON_POPULAR_OPINION"
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -1.0
|
multiplier = -1.0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,18 @@ peasant_faction = {
|
||||||
}
|
}
|
||||||
|
|
||||||
on_creation = {
|
on_creation = {
|
||||||
|
random_faction_county_member = {
|
||||||
|
save_scope_as = founding_county
|
||||||
|
}
|
||||||
|
|
||||||
|
set_variable = {
|
||||||
|
name = faction_culture
|
||||||
|
value = scope:founding_county.culture
|
||||||
|
}
|
||||||
|
set_variable = {
|
||||||
|
name = faction_faith
|
||||||
|
value = scope:founding_county.faith
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
on_destroy = {
|
on_destroy = {
|
||||||
|
|
@ -119,6 +131,7 @@ peasant_faction = {
|
||||||
if = {
|
if = {
|
||||||
#Verify that the title exists before trying to destroy it
|
#Verify that the title exists before trying to destroy it
|
||||||
limit = {
|
limit = {
|
||||||
|
is_alive = yes
|
||||||
has_variable = peasant_title
|
has_variable = peasant_title
|
||||||
exists = this.var:peasant_title
|
exists = this.var:peasant_title
|
||||||
NOT = { has_variable = peasant_war_escalates }
|
NOT = { has_variable = peasant_war_escalates }
|
||||||
|
|
@ -152,17 +165,35 @@ peasant_faction = {
|
||||||
county_join_score = {
|
county_join_score = {
|
||||||
base = 0
|
base = 0
|
||||||
compare_modifier = {
|
compare_modifier = {
|
||||||
desc = "FACTION_REASON_COUNTY_OPINION"
|
desc = "FACTION_REASON_POPULAR_OPINION"
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -1.0
|
multiplier = -1.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_HIGH_COUNTY_CONTROL"
|
||||||
|
value = faction_county_high_control_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_STATIONED_GARRISON"
|
||||||
|
value = faction_county_garrison_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
|
|
||||||
|
modifier = {
|
||||||
|
desc = "FACTION_REASON_PREFER_BURGHER_FACTION"
|
||||||
|
add = -50
|
||||||
|
burgher_county_has_own_faction_option_trigger = yes
|
||||||
|
}
|
||||||
|
|
||||||
# If a suitable Popular Faction exists, perfer to join it instead.
|
# If a suitable Popular Faction exists, perfer to join it instead.
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_PREFER_POPULIST_FACTION"
|
desc = "FACTION_REASON_PREFER_POPULIST_FACTION"
|
||||||
add = -10
|
add = -10
|
||||||
AND = {
|
AND = {
|
||||||
county_opinion <= -15
|
popular_opinion <= -15
|
||||||
scope:faction.faction_target = {
|
scope:faction.faction_target = {
|
||||||
top_liege = {
|
top_liege = {
|
||||||
any_targeting_faction = {
|
any_targeting_faction = {
|
||||||
|
|
@ -209,7 +240,7 @@ peasant_faction = {
|
||||||
# Defiant Ambushers
|
# Defiant Ambushers
|
||||||
modifier = {
|
modifier = {
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
culture != scope:faction.faction_target.culture
|
culture != scope:faction.faction_target.culture
|
||||||
scope:root.culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
scope:root.culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
||||||
}
|
}
|
||||||
|
|
@ -333,7 +364,7 @@ peasant_faction = {
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_DYNASTIC_CYCLE_INSTABILITY"
|
desc = "FACTION_REASON_DYNASTIC_CYCLE_INSTABILITY"
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
scope:faction.faction_target = {
|
scope:faction.faction_target = {
|
||||||
top_participant_group:dynastic_cycle ?= {
|
top_participant_group:dynastic_cycle ?= {
|
||||||
has_participant_group_parameter = dynastic_cycle_more_peasant_factions
|
has_participant_group_parameter = dynastic_cycle_more_peasant_factions
|
||||||
|
|
@ -344,7 +375,7 @@ peasant_faction = {
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_POPULIST_PEASANT_MORE_LIKELY"
|
desc = "FACTION_REASON_POPULIST_PEASANT_MORE_LIKELY"
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
faith != scope:faction.faction_target.faith
|
faith != scope:faction.faction_target.faith
|
||||||
rite = {
|
rite = {
|
||||||
rite_has_parameter = peasant_and_populist_factions_more_common
|
rite_has_parameter = peasant_and_populist_factions_more_common
|
||||||
|
|
@ -353,22 +384,40 @@ peasant_faction = {
|
||||||
}
|
}
|
||||||
|
|
||||||
county_create_score = {
|
county_create_score = {
|
||||||
base = 0
|
base = -15
|
||||||
|
|
||||||
####
|
####
|
||||||
# AI Modifiers
|
# AI Modifiers
|
||||||
####
|
####
|
||||||
|
|
||||||
compare_modifier = {
|
compare_modifier = {
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -1.0
|
multiplier = -1.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_HIGH_COUNTY_CONTROL"
|
||||||
|
value = faction_county_high_control_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_STATIONED_GARRISON"
|
||||||
|
value = faction_county_garrison_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
|
|
||||||
|
modifier = {
|
||||||
|
desc = "FACTION_REASON_PREFER_BURGHER_FACTION"
|
||||||
|
add = -50
|
||||||
|
burgher_county_has_own_faction_option_trigger = yes
|
||||||
|
}
|
||||||
|
|
||||||
# If a suitable Popular Faction exists, perfer to join it instead.
|
# If a suitable Popular Faction exists, perfer to join it instead.
|
||||||
modifier = {
|
modifier = {
|
||||||
add = -10
|
add = -10
|
||||||
AND = {
|
AND = {
|
||||||
county_opinion <= -15
|
popular_opinion <= -15
|
||||||
scope:target = {
|
scope:target = {
|
||||||
top_liege = {
|
top_liege = {
|
||||||
any_targeting_faction = {
|
any_targeting_faction = {
|
||||||
|
|
@ -416,7 +465,7 @@ peasant_faction = {
|
||||||
# Defiant Ambushers
|
# Defiant Ambushers
|
||||||
modifier = {
|
modifier = {
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
culture != scope:target.culture
|
culture != scope:target.culture
|
||||||
culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
||||||
}
|
}
|
||||||
|
|
@ -512,7 +561,7 @@ peasant_faction = {
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_DYNASTIC_CYCLE_INSTABILITY"
|
desc = "FACTION_REASON_DYNASTIC_CYCLE_INSTABILITY"
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
scope:target = {
|
scope:target = {
|
||||||
top_participant_group:dynastic_cycle ?= {
|
top_participant_group:dynastic_cycle ?= {
|
||||||
has_participant_group_parameter = dynastic_cycle_more_peasant_factions
|
has_participant_group_parameter = dynastic_cycle_more_peasant_factions
|
||||||
|
|
@ -522,7 +571,7 @@ peasant_faction = {
|
||||||
# Pure Land
|
# Pure Land
|
||||||
modifier = {
|
modifier = {
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
faith != scope:target.faith
|
faith != scope:target.faith
|
||||||
rite = {
|
rite = {
|
||||||
rite_has_parameter = peasant_and_populist_factions_more_common
|
rite_has_parameter = peasant_and_populist_factions_more_common
|
||||||
|
|
@ -561,6 +610,8 @@ peasant_faction = {
|
||||||
}
|
}
|
||||||
trigger_else = { holder = scope:faction.faction_target }
|
trigger_else = { holder = scope:faction.faction_target }
|
||||||
|
|
||||||
|
burgher_county_faction_on_cooldown_trigger = no
|
||||||
|
|
||||||
title_province = {
|
title_province = {
|
||||||
NOR = {
|
NOR = {
|
||||||
has_holding_type = nomad_holding
|
has_holding_type = nomad_holding
|
||||||
|
|
@ -604,6 +655,8 @@ peasant_faction = {
|
||||||
NOT = { scope:target = { immune_to_factions_trigger = yes } }
|
NOT = { scope:target = { immune_to_factions_trigger = yes } }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
burgher_county_faction_on_cooldown_trigger = no
|
||||||
|
|
||||||
title_province = {
|
title_province = {
|
||||||
NOR = {
|
NOR = {
|
||||||
has_holding_type = nomad_holding
|
has_holding_type = nomad_holding
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
can_county_create = {
|
can_county_create = {
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
|
|
||||||
# Can only join factions against our top liege (not direct liege)
|
# Can only join factions against our top liege (not direct liege)
|
||||||
scope:target = holder.top_liege
|
scope:target = holder.top_liege
|
||||||
|
|
@ -281,27 +281,39 @@
|
||||||
this.title_province.culture != scope:target.culture
|
this.title_province.culture != scope:target.culture
|
||||||
this.title_province.culture = { has_same_culture_heritage = scope:target.culture }
|
this.title_province.culture = { has_same_culture_heritage = scope:target.culture }
|
||||||
}
|
}
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -1.0
|
multiplier = -1.0
|
||||||
}
|
}
|
||||||
compare_modifier = {
|
compare_modifier = {
|
||||||
trigger = {
|
trigger = {
|
||||||
NOT = { this.title_province.culture = { has_same_culture_heritage = scope:target.culture } }
|
NOT = { this.title_province.culture = { has_same_culture_heritage = scope:target.culture } }
|
||||||
}
|
}
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -3.0
|
multiplier = -3.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_HIGH_COUNTY_CONTROL"
|
||||||
|
value = faction_county_high_control_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_STATIONED_GARRISON"
|
||||||
|
value = faction_county_garrison_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
pluralism_fundamentalism_dual_modifier = {
|
pluralism_fundamentalism_dual_modifier = {
|
||||||
ASTRAY_BASE_VALUE = faction_county_opinion_astray
|
ASTRAY_BASE_VALUE = faction_popular_opinion_astray
|
||||||
HOSTILE_BASE_VALUE = faction_county_opinion_hostile
|
HOSTILE_BASE_VALUE = faction_popular_opinion_hostile
|
||||||
EVIL_BASE_VALUE = faction_county_opinion_evil
|
EVIL_BASE_VALUE = faction_popular_opinion_evil
|
||||||
BASE_FAITH = faith
|
BASE_FAITH = faith
|
||||||
TARGET = scope:target
|
TARGET = scope:target
|
||||||
}
|
}
|
||||||
pluralism_fundamentalism_modifier = {
|
pluralism_fundamentalism_modifier = {
|
||||||
ASTRAY_BASE_VALUE = faction_county_opinion_astray
|
ASTRAY_BASE_VALUE = faction_popular_opinion_astray
|
||||||
HOSTILE_BASE_VALUE = faction_county_opinion_hostile
|
HOSTILE_BASE_VALUE = faction_popular_opinion_hostile
|
||||||
EVIL_BASE_VALUE = faction_county_opinion_evil
|
EVIL_BASE_VALUE = faction_popular_opinion_evil
|
||||||
BASE_FAITH = faith
|
BASE_FAITH = faith
|
||||||
TARGET = scope:target
|
TARGET = scope:target
|
||||||
}
|
}
|
||||||
|
|
@ -334,7 +346,7 @@
|
||||||
# Defiant Ambushers
|
# Defiant Ambushers
|
||||||
modifier = {
|
modifier = {
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
culture != scope:target.culture
|
culture != scope:target.culture
|
||||||
scope:root.culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
scope:root.culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
||||||
}
|
}
|
||||||
|
|
@ -465,34 +477,46 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -1.0
|
multiplier = -1.0
|
||||||
}
|
}
|
||||||
compare_modifier = {
|
compare_modifier = {
|
||||||
desc = "FACTION_REASON_CULTURAL_REASONS"
|
desc = "FACTION_REASON_CULTURAL_REASONS"
|
||||||
trigger = {
|
trigger = {
|
||||||
NOR = {
|
NOR = {
|
||||||
this.title_province.culture = scope:faction.faction_target.culture
|
this.title_province.culture = { has_same_culture_heritage = scope:faction.faction_target.culture }
|
||||||
AND = {
|
AND = {
|
||||||
scope:faction.faction_target = { has_active_diarchy = yes }
|
scope:faction.faction_target = { has_active_diarchy = yes }
|
||||||
this.title_province.culture = scope:faction.faction_target.diarch.culture
|
this.title_province.culture = { has_same_culture_heritage = scope:faction.faction_target.diarch.culture }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -3.0
|
multiplier = -3.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_HIGH_COUNTY_CONTROL"
|
||||||
|
value = faction_county_high_control_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_STATIONED_GARRISON"
|
||||||
|
value = faction_county_garrison_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
pluralism_fundamentalism_dual_modifier = {
|
pluralism_fundamentalism_dual_modifier = {
|
||||||
ASTRAY_BASE_VALUE = faction_county_opinion_astray
|
ASTRAY_BASE_VALUE = faction_popular_opinion_astray
|
||||||
HOSTILE_BASE_VALUE = faction_county_opinion_hostile
|
HOSTILE_BASE_VALUE = faction_popular_opinion_hostile
|
||||||
EVIL_BASE_VALUE = faction_county_opinion_evil
|
EVIL_BASE_VALUE = faction_popular_opinion_evil
|
||||||
BASE_FAITH = faith
|
BASE_FAITH = faith
|
||||||
TARGET = scope:faction.faction_target
|
TARGET = scope:faction.faction_target
|
||||||
}
|
}
|
||||||
pluralism_fundamentalism_modifier = {
|
pluralism_fundamentalism_modifier = {
|
||||||
ASTRAY_BASE_VALUE = faction_county_opinion_astray
|
ASTRAY_BASE_VALUE = faction_popular_opinion_astray
|
||||||
HOSTILE_BASE_VALUE = faction_county_opinion_hostile
|
HOSTILE_BASE_VALUE = faction_popular_opinion_hostile
|
||||||
EVIL_BASE_VALUE = faction_county_opinion_evil
|
EVIL_BASE_VALUE = faction_popular_opinion_evil
|
||||||
BASE_FAITH = faith
|
BASE_FAITH = faith
|
||||||
TARGET = scope:faction.faction_target
|
TARGET = scope:faction.faction_target
|
||||||
}
|
}
|
||||||
|
|
@ -528,7 +552,7 @@
|
||||||
# Defiant Ambushers
|
# Defiant Ambushers
|
||||||
modifier = {
|
modifier = {
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
culture != scope:faction.faction_target.culture
|
culture != scope:faction.faction_target.culture
|
||||||
culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
||||||
}
|
}
|
||||||
|
|
@ -820,6 +844,7 @@
|
||||||
every_faction_member = {
|
every_faction_member = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
|
highest_held_title_tier >= tier_county
|
||||||
any_neighboring_realm_same_rank_owner = {
|
any_neighboring_realm_same_rank_owner = {
|
||||||
this = root
|
this = root
|
||||||
}
|
}
|
||||||
|
|
@ -883,6 +908,7 @@
|
||||||
special_character = {
|
special_character = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
|
is_alive = yes
|
||||||
has_variable = {
|
has_variable = {
|
||||||
name = peasant_faction_claimant_without_title
|
name = peasant_faction_claimant_without_title
|
||||||
name = peasant_faction_random_peasant
|
name = peasant_faction_random_peasant
|
||||||
|
|
@ -1258,6 +1284,8 @@ escalated_peasant_faction = {
|
||||||
has_county_modifier = peasant_war_lost_county_modifier
|
has_county_modifier = peasant_war_lost_county_modifier
|
||||||
holder = scope:faction.faction_target
|
holder = scope:faction.faction_target
|
||||||
}
|
}
|
||||||
|
|
||||||
|
burgher_county_faction_on_cooldown_trigger = no
|
||||||
}
|
}
|
||||||
|
|
||||||
can_character_create = {
|
can_character_create = {
|
||||||
|
|
@ -1281,10 +1309,28 @@ escalated_peasant_faction = {
|
||||||
county_join_score = {
|
county_join_score = {
|
||||||
base = 0
|
base = 0
|
||||||
compare_modifier = {
|
compare_modifier = {
|
||||||
desc = "FACTION_REASON_COUNTY_OPINION"
|
desc = "FACTION_REASON_POPULAR_OPINION"
|
||||||
value = county_opinion
|
value = popular_opinion
|
||||||
multiplier = -1.0
|
multiplier = -1.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_HIGH_COUNTY_CONTROL"
|
||||||
|
value = faction_county_high_control_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
|
|
||||||
|
compare_modifier = {
|
||||||
|
desc = "FACTION_REASON_STATIONED_GARRISON"
|
||||||
|
value = faction_county_garrison_suppression
|
||||||
|
multiplier = -1.0
|
||||||
|
}
|
||||||
|
modifier = {
|
||||||
|
desc = "FACTION_REASON_PREFER_BURGHER_FACTION"
|
||||||
|
add = -50
|
||||||
|
burgher_county_has_own_faction_option_trigger = yes
|
||||||
|
}
|
||||||
|
|
||||||
# If a suitable Popular Faction exists, perfer to join it instead.
|
# If a suitable Popular Faction exists, perfer to join it instead.
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_PREFER_POPULIST_FACTION"
|
desc = "FACTION_REASON_PREFER_POPULIST_FACTION"
|
||||||
|
|
@ -1324,7 +1370,7 @@ escalated_peasant_faction = {
|
||||||
# Defiant Ambushers
|
# Defiant Ambushers
|
||||||
modifier = {
|
modifier = {
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
culture != scope:faction.faction_target.culture
|
culture != scope:faction.faction_target.culture
|
||||||
culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
||||||
}
|
}
|
||||||
|
|
@ -1442,7 +1488,7 @@ escalated_peasant_faction = {
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_DYNASTIC_CYCLE_INSTABILITY"
|
desc = "FACTION_REASON_DYNASTIC_CYCLE_INSTABILITY"
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
scope:faction.faction_target = {
|
scope:faction.faction_target = {
|
||||||
top_participant_group:dynastic_cycle ?= {
|
top_participant_group:dynastic_cycle ?= {
|
||||||
has_participant_group_parameter = dynastic_cycle_more_peasant_factions
|
has_participant_group_parameter = dynastic_cycle_more_peasant_factions
|
||||||
|
|
@ -1453,7 +1499,7 @@ escalated_peasant_faction = {
|
||||||
modifier = {
|
modifier = {
|
||||||
desc = "FACTION_REASON_POPULIST_PEASANT_MORE_LIKELY"
|
desc = "FACTION_REASON_POPULIST_PEASANT_MORE_LIKELY"
|
||||||
add = 25
|
add = 25
|
||||||
county_opinion < 0
|
popular_opinion < 0
|
||||||
faith != scope:faction.faction_target.faith
|
faith != scope:faction.faction_target.faith
|
||||||
rite = {
|
rite = {
|
||||||
rite_has_parameter = peasant_and_populist_factions_more_common
|
rite_has_parameter = peasant_and_populist_factions_more_common
|
||||||
|
|
@ -1503,6 +1549,8 @@ escalated_peasant_faction = {
|
||||||
NOT = { scope:target = { immune_to_factions_trigger = yes } }
|
NOT = { scope:target = { immune_to_factions_trigger = yes } }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
burgher_county_faction_on_cooldown_trigger = no
|
||||||
|
|
||||||
title_province = {
|
title_province = {
|
||||||
NOR = {
|
NOR = {
|
||||||
has_holding_type = nomad_holding
|
has_holding_type = nomad_holding
|
||||||
|
|
@ -1524,6 +1572,7 @@ escalated_peasant_faction = {
|
||||||
special_character = {
|
special_character = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
|
is_alive = yes
|
||||||
has_variable = {
|
has_variable = {
|
||||||
name = peasant_faction_claimant_without_title
|
name = peasant_faction_claimant_without_title
|
||||||
name = peasant_faction_random_peasant
|
name = peasant_faction_random_peasant
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue