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
|
||||
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 = {
|
||||
|
|
@ -243,7 +291,7 @@
|
|||
#EP3 admin legitimacy event
|
||||
modifier = {
|
||||
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
||||
add = 15
|
||||
add = 25
|
||||
scope:faction = {
|
||||
any_faction_member = {
|
||||
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 = {
|
||||
|
|
@ -330,6 +426,20 @@
|
|||
subject = this
|
||||
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 = {
|
||||
|
|
@ -413,6 +523,17 @@
|
|||
subject = this
|
||||
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 = {
|
||||
|
|
@ -468,6 +589,20 @@
|
|||
subject = this
|
||||
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 = {
|
||||
|
|
@ -798,7 +933,7 @@ liberty_faction = {
|
|||
#EP3 admin legitimacy event
|
||||
modifier = {
|
||||
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
||||
add = 15
|
||||
add = 25
|
||||
scope:faction = {
|
||||
any_faction_member = {
|
||||
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 = {
|
||||
limit = {
|
||||
scope:faction.faction_target ?= top_liege
|
||||
|
|
@ -1114,11 +1249,11 @@ claimant_faction = {
|
|||
}
|
||||
# Bloc Cohesion requirement
|
||||
japan_faction_cohesion_trigger = yes
|
||||
# TGP - Use Coup against prime_minister instead
|
||||
# TGP - Use Coup against Kampaku instead
|
||||
custom_tooltip = {
|
||||
text = cannot_create_claimant_faction_against_prime_minister_tooltip
|
||||
scope:target = {
|
||||
# TGP - Use Coup against prime_minister instead
|
||||
# TGP - Use Coup against Kampaku instead
|
||||
tgp_is_ceremonial_regent_trigger = no
|
||||
}
|
||||
}
|
||||
|
|
@ -1132,7 +1267,7 @@ claimant_faction = {
|
|||
# Bloc Cohesion requirement
|
||||
japan_faction_cohesion_trigger = yes
|
||||
|
||||
# TGP - Use Coup against prime_minister instead
|
||||
# TGP - Use Coup against Kampaku instead
|
||||
trigger_if = {
|
||||
limit = {
|
||||
exists = joined_faction
|
||||
|
|
@ -1144,7 +1279,7 @@ claimant_faction = {
|
|||
tgp_is_ceremonial_regent_trigger = no
|
||||
}
|
||||
}
|
||||
# TGP - Use Coup against prime_minister instead
|
||||
# TGP - Use Coup against Kampaku instead
|
||||
trigger_else_if = {
|
||||
limit = {
|
||||
has_variable = claiming_title
|
||||
|
|
@ -1261,7 +1396,7 @@ claimant_faction = {
|
|||
|
||||
modifier = { # CE1 Divine Mandate perk
|
||||
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
|
||||
}
|
||||
|
||||
|
|
@ -1270,7 +1405,7 @@ claimant_faction = {
|
|||
#EP3 admin legitimacy event
|
||||
modifier = {
|
||||
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
||||
add = 15
|
||||
add = 25
|
||||
scope:faction = {
|
||||
any_faction_member = {
|
||||
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.special_character.culture = this.title_province.culture
|
||||
}
|
||||
value = county_opinion
|
||||
value = popular_opinion
|
||||
multiplier = -2.0
|
||||
}
|
||||
compare_modifier = {
|
||||
|
|
@ -1329,7 +1464,7 @@ claimant_faction = {
|
|||
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 }
|
||||
}
|
||||
value = county_opinion
|
||||
value = popular_opinion
|
||||
multiplier = -2.0
|
||||
}
|
||||
|
||||
|
|
@ -1343,7 +1478,7 @@ claimant_faction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
value = county_opinion
|
||||
value = popular_opinion
|
||||
multiplier = {
|
||||
value = 0.0
|
||||
if = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
nation_fracturing_faction = {
|
||||
# I.e. Dissolution Faction
|
||||
nation_fracturing_faction = {
|
||||
casus_belli = nation_fracturing_faction_war
|
||||
|
||||
short_effect_desc = nation_fracturing_faction_short_effect_desc
|
||||
|
|
@ -129,6 +130,16 @@
|
|||
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 = {
|
||||
|
|
@ -184,6 +195,13 @@
|
|||
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 = {
|
||||
|
|
@ -258,6 +276,11 @@
|
|||
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 = {
|
||||
|
|
@ -312,7 +335,7 @@
|
|||
#EP3 admin legitimacy event
|
||||
modifier = {
|
||||
desc = "FACTION_REASON_LOW_LEGITIMACY_CHALLENGER"
|
||||
add = 15
|
||||
add = 25
|
||||
scope:faction = {
|
||||
any_faction_member = {
|
||||
has_character_flag = low_legitimacy_admin_factions_flag
|
||||
|
|
@ -359,8 +382,8 @@
|
|||
county_join_score = {
|
||||
base = 0
|
||||
compare_modifier = {
|
||||
desc = "FACTION_REASON_COUNTY_OPINION"
|
||||
value = county_opinion
|
||||
desc = "FACTION_REASON_POPULAR_OPINION"
|
||||
value = popular_opinion
|
||||
multiplier = -1.0
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,6 +105,18 @@ peasant_faction = {
|
|||
}
|
||||
|
||||
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 = {
|
||||
|
|
@ -119,6 +131,7 @@ peasant_faction = {
|
|||
if = {
|
||||
#Verify that the title exists before trying to destroy it
|
||||
limit = {
|
||||
is_alive = yes
|
||||
has_variable = peasant_title
|
||||
exists = this.var:peasant_title
|
||||
NOT = { has_variable = peasant_war_escalates }
|
||||
|
|
@ -152,17 +165,35 @@ peasant_faction = {
|
|||
county_join_score = {
|
||||
base = 0
|
||||
compare_modifier = {
|
||||
desc = "FACTION_REASON_COUNTY_OPINION"
|
||||
value = county_opinion
|
||||
desc = "FACTION_REASON_POPULAR_OPINION"
|
||||
value = popular_opinion
|
||||
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.
|
||||
modifier = {
|
||||
desc = "FACTION_REASON_PREFER_POPULIST_FACTION"
|
||||
add = -10
|
||||
AND = {
|
||||
county_opinion <= -15
|
||||
popular_opinion <= -15
|
||||
scope:faction.faction_target = {
|
||||
top_liege = {
|
||||
any_targeting_faction = {
|
||||
|
|
@ -209,7 +240,7 @@ peasant_faction = {
|
|||
# Defiant Ambushers
|
||||
modifier = {
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
culture != scope:faction.faction_target.culture
|
||||
scope:root.culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
||||
}
|
||||
|
|
@ -333,7 +364,7 @@ peasant_faction = {
|
|||
modifier = {
|
||||
desc = "FACTION_REASON_DYNASTIC_CYCLE_INSTABILITY"
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
scope:faction.faction_target = {
|
||||
top_participant_group:dynastic_cycle ?= {
|
||||
has_participant_group_parameter = dynastic_cycle_more_peasant_factions
|
||||
|
|
@ -344,7 +375,7 @@ peasant_faction = {
|
|||
modifier = {
|
||||
desc = "FACTION_REASON_POPULIST_PEASANT_MORE_LIKELY"
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
faith != scope:faction.faction_target.faith
|
||||
rite = {
|
||||
rite_has_parameter = peasant_and_populist_factions_more_common
|
||||
|
|
@ -353,22 +384,40 @@ peasant_faction = {
|
|||
}
|
||||
|
||||
county_create_score = {
|
||||
base = 0
|
||||
base = -15
|
||||
|
||||
####
|
||||
# AI Modifiers
|
||||
####
|
||||
|
||||
compare_modifier = {
|
||||
value = county_opinion
|
||||
value = popular_opinion
|
||||
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.
|
||||
modifier = {
|
||||
add = -10
|
||||
AND = {
|
||||
county_opinion <= -15
|
||||
popular_opinion <= -15
|
||||
scope:target = {
|
||||
top_liege = {
|
||||
any_targeting_faction = {
|
||||
|
|
@ -416,7 +465,7 @@ peasant_faction = {
|
|||
# Defiant Ambushers
|
||||
modifier = {
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
culture != scope:target.culture
|
||||
culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
||||
}
|
||||
|
|
@ -512,7 +561,7 @@ peasant_faction = {
|
|||
modifier = {
|
||||
desc = "FACTION_REASON_DYNASTIC_CYCLE_INSTABILITY"
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
scope:target = {
|
||||
top_participant_group:dynastic_cycle ?= {
|
||||
has_participant_group_parameter = dynastic_cycle_more_peasant_factions
|
||||
|
|
@ -522,7 +571,7 @@ peasant_faction = {
|
|||
# Pure Land
|
||||
modifier = {
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
faith != scope:target.faith
|
||||
rite = {
|
||||
rite_has_parameter = peasant_and_populist_factions_more_common
|
||||
|
|
@ -561,6 +610,8 @@ peasant_faction = {
|
|||
}
|
||||
trigger_else = { holder = scope:faction.faction_target }
|
||||
|
||||
burgher_county_faction_on_cooldown_trigger = no
|
||||
|
||||
title_province = {
|
||||
NOR = {
|
||||
has_holding_type = nomad_holding
|
||||
|
|
@ -604,6 +655,8 @@ peasant_faction = {
|
|||
NOT = { scope:target = { immune_to_factions_trigger = yes } }
|
||||
}
|
||||
|
||||
burgher_county_faction_on_cooldown_trigger = no
|
||||
|
||||
title_province = {
|
||||
NOR = {
|
||||
has_holding_type = nomad_holding
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@
|
|||
}
|
||||
|
||||
can_county_create = {
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
|
||||
# Can only join factions against our top liege (not direct liege)
|
||||
scope:target = holder.top_liege
|
||||
|
|
@ -281,27 +281,39 @@
|
|||
this.title_province.culture != scope:target.culture
|
||||
this.title_province.culture = { has_same_culture_heritage = scope:target.culture }
|
||||
}
|
||||
value = county_opinion
|
||||
value = popular_opinion
|
||||
multiplier = -1.0
|
||||
}
|
||||
compare_modifier = {
|
||||
trigger = {
|
||||
NOT = { this.title_province.culture = { has_same_culture_heritage = scope:target.culture } }
|
||||
}
|
||||
value = county_opinion
|
||||
value = popular_opinion
|
||||
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 = {
|
||||
ASTRAY_BASE_VALUE = faction_county_opinion_astray
|
||||
HOSTILE_BASE_VALUE = faction_county_opinion_hostile
|
||||
EVIL_BASE_VALUE = faction_county_opinion_evil
|
||||
ASTRAY_BASE_VALUE = faction_popular_opinion_astray
|
||||
HOSTILE_BASE_VALUE = faction_popular_opinion_hostile
|
||||
EVIL_BASE_VALUE = faction_popular_opinion_evil
|
||||
BASE_FAITH = faith
|
||||
TARGET = scope:target
|
||||
}
|
||||
pluralism_fundamentalism_modifier = {
|
||||
ASTRAY_BASE_VALUE = faction_county_opinion_astray
|
||||
HOSTILE_BASE_VALUE = faction_county_opinion_hostile
|
||||
EVIL_BASE_VALUE = faction_county_opinion_evil
|
||||
ASTRAY_BASE_VALUE = faction_popular_opinion_astray
|
||||
HOSTILE_BASE_VALUE = faction_popular_opinion_hostile
|
||||
EVIL_BASE_VALUE = faction_popular_opinion_evil
|
||||
BASE_FAITH = faith
|
||||
TARGET = scope:target
|
||||
}
|
||||
|
|
@ -334,7 +346,7 @@
|
|||
# Defiant Ambushers
|
||||
modifier = {
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
culture != scope:target.culture
|
||||
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
|
||||
}
|
||||
compare_modifier = {
|
||||
desc = "FACTION_REASON_CULTURAL_REASONS"
|
||||
trigger = {
|
||||
NOR = {
|
||||
this.title_province.culture = scope:faction.faction_target.culture
|
||||
this.title_province.culture = { has_same_culture_heritage = scope:faction.faction_target.culture }
|
||||
AND = {
|
||||
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
|
||||
}
|
||||
|
||||
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 = {
|
||||
ASTRAY_BASE_VALUE = faction_county_opinion_astray
|
||||
HOSTILE_BASE_VALUE = faction_county_opinion_hostile
|
||||
EVIL_BASE_VALUE = faction_county_opinion_evil
|
||||
ASTRAY_BASE_VALUE = faction_popular_opinion_astray
|
||||
HOSTILE_BASE_VALUE = faction_popular_opinion_hostile
|
||||
EVIL_BASE_VALUE = faction_popular_opinion_evil
|
||||
BASE_FAITH = faith
|
||||
TARGET = scope:faction.faction_target
|
||||
}
|
||||
pluralism_fundamentalism_modifier = {
|
||||
ASTRAY_BASE_VALUE = faction_county_opinion_astray
|
||||
HOSTILE_BASE_VALUE = faction_county_opinion_hostile
|
||||
EVIL_BASE_VALUE = faction_county_opinion_evil
|
||||
ASTRAY_BASE_VALUE = faction_popular_opinion_astray
|
||||
HOSTILE_BASE_VALUE = faction_popular_opinion_hostile
|
||||
EVIL_BASE_VALUE = faction_popular_opinion_evil
|
||||
BASE_FAITH = faith
|
||||
TARGET = scope:faction.faction_target
|
||||
}
|
||||
|
|
@ -528,7 +552,7 @@
|
|||
# Defiant Ambushers
|
||||
modifier = {
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
culture != scope:faction.faction_target.culture
|
||||
culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
||||
}
|
||||
|
|
@ -820,6 +844,7 @@
|
|||
every_faction_member = {
|
||||
if = {
|
||||
limit = {
|
||||
highest_held_title_tier >= tier_county
|
||||
any_neighboring_realm_same_rank_owner = {
|
||||
this = root
|
||||
}
|
||||
|
|
@ -883,6 +908,7 @@
|
|||
special_character = {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
has_variable = {
|
||||
name = peasant_faction_claimant_without_title
|
||||
name = peasant_faction_random_peasant
|
||||
|
|
@ -1258,6 +1284,8 @@ escalated_peasant_faction = {
|
|||
has_county_modifier = peasant_war_lost_county_modifier
|
||||
holder = scope:faction.faction_target
|
||||
}
|
||||
|
||||
burgher_county_faction_on_cooldown_trigger = no
|
||||
}
|
||||
|
||||
can_character_create = {
|
||||
|
|
@ -1281,10 +1309,28 @@ escalated_peasant_faction = {
|
|||
county_join_score = {
|
||||
base = 0
|
||||
compare_modifier = {
|
||||
desc = "FACTION_REASON_COUNTY_OPINION"
|
||||
value = county_opinion
|
||||
desc = "FACTION_REASON_POPULAR_OPINION"
|
||||
value = popular_opinion
|
||||
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.
|
||||
modifier = {
|
||||
desc = "FACTION_REASON_PREFER_POPULIST_FACTION"
|
||||
|
|
@ -1324,7 +1370,7 @@ escalated_peasant_faction = {
|
|||
# Defiant Ambushers
|
||||
modifier = {
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
culture != scope:faction.faction_target.culture
|
||||
culture = { has_cultural_parameter = county_peasant_and_populist_factions_more_common }
|
||||
}
|
||||
|
|
@ -1442,7 +1488,7 @@ escalated_peasant_faction = {
|
|||
modifier = {
|
||||
desc = "FACTION_REASON_DYNASTIC_CYCLE_INSTABILITY"
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
scope:faction.faction_target = {
|
||||
top_participant_group:dynastic_cycle ?= {
|
||||
has_participant_group_parameter = dynastic_cycle_more_peasant_factions
|
||||
|
|
@ -1453,7 +1499,7 @@ escalated_peasant_faction = {
|
|||
modifier = {
|
||||
desc = "FACTION_REASON_POPULIST_PEASANT_MORE_LIKELY"
|
||||
add = 25
|
||||
county_opinion < 0
|
||||
popular_opinion < 0
|
||||
faith != scope:faction.faction_target.faith
|
||||
rite = {
|
||||
rite_has_parameter = peasant_and_populist_factions_more_common
|
||||
|
|
@ -1503,6 +1549,8 @@ escalated_peasant_faction = {
|
|||
NOT = { scope:target = { immune_to_factions_trigger = yes } }
|
||||
}
|
||||
|
||||
burgher_county_faction_on_cooldown_trigger = no
|
||||
|
||||
title_province = {
|
||||
NOR = {
|
||||
has_holding_type = nomad_holding
|
||||
|
|
@ -1524,6 +1572,7 @@ escalated_peasant_faction = {
|
|||
special_character = {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
has_variable = {
|
||||
name = peasant_faction_claimant_without_title
|
||||
name = peasant_faction_random_peasant
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue