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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue