factions
This commit is contained in:
parent
f866dd83d0
commit
05d852ffc5
4 changed files with 314 additions and 54 deletions
|
|
@ -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