ALL THE WAY TO DECISIONS DONE
This commit is contained in:
parent
359420bc6b
commit
d758b987c9
112 changed files with 20676 additions and 14484 deletions
|
|
@ -176,9 +176,24 @@ gift_interaction = {
|
|||
type = event_gold_neutral
|
||||
title = gift_interaction_notification
|
||||
right_icon = scope:recipient
|
||||
pay_short_term_gold = {
|
||||
gold = gift_value
|
||||
target = scope:recipient
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
highest_held_title_tier = tier_barony
|
||||
government_has_flag = government_is_republic
|
||||
has_treasury = yes
|
||||
}
|
||||
}
|
||||
pay_gold_to_treasury = {
|
||||
target = scope:recipient
|
||||
value = gift_value
|
||||
}
|
||||
}
|
||||
else = {
|
||||
pay_short_term_gold = {
|
||||
gold = gift_value
|
||||
target = scope:recipient
|
||||
}
|
||||
}
|
||||
stress_and_fulfillment_impact = {
|
||||
greedy = medium_stress_impact_gain
|
||||
|
|
@ -263,67 +278,67 @@ gift_interaction = {
|
|||
}
|
||||
|
||||
# Struggle Catalyst
|
||||
# if = {
|
||||
# limit = {
|
||||
# scope:puppet_or_actor = {
|
||||
# any_character_struggle = {
|
||||
# involvement = involved
|
||||
# phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
|
||||
# CATALYST = catalyst_gift_independent_ruler
|
||||
# CHAR = scope:recipient
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# hidden_effect = {
|
||||
# scope:puppet_or_actor = {
|
||||
# every_character_struggle = {
|
||||
# involvement = involved
|
||||
# limit = { phase_has_catalyst = catalyst_gift_independent_ruler }
|
||||
# activate_struggle_catalyst = {
|
||||
# catalyst = catalyst_gift_independent_ruler
|
||||
# character = scope:puppet_or_actor
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# if = {
|
||||
# limit = {
|
||||
# fp3_struggle_involves_one_supporter_and_one_detractor = {
|
||||
# FIRST = scope:puppet_or_actor
|
||||
# SECOND = scope:recipient
|
||||
# }
|
||||
# scope:puppet_or_actor = {
|
||||
# any_character_struggle = {
|
||||
# #involvement = involved
|
||||
# activate_struggle_catalyst_secondary_character_involvement_either_trigger = {
|
||||
# CATALYST = catalyst_gift_supporter_detractor_ruler
|
||||
# CHAR = scope:recipient
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# hidden_effect = {
|
||||
# scope:puppet_or_actor = {
|
||||
# every_character_struggle = {
|
||||
# #involvement = involved
|
||||
# limit = {
|
||||
# activate_struggle_catalyst_secondary_character_involvement_either_trigger = {
|
||||
# CATALYST = catalyst_gift_supporter_detractor_ruler
|
||||
# CHAR = scope:recipient
|
||||
# }
|
||||
# }
|
||||
# activate_struggle_catalyst = {
|
||||
# catalyst = catalyst_gift_supporter_detractor_ruler
|
||||
# character = scope:puppet_or_actor
|
||||
# }
|
||||
# log_debug_variable_for_persian_struggle_effect = { VAR = concession_catalyst_gift_supporter_detractor_ruler }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
|
||||
CATALYST = catalyst_gift_independent_ruler
|
||||
CHAR = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
scope:puppet_or_actor = {
|
||||
every_character_struggle = {
|
||||
involvement = involved
|
||||
limit = { phase_has_catalyst = catalyst_gift_independent_ruler }
|
||||
activate_struggle_catalyst = {
|
||||
catalyst = catalyst_gift_independent_ruler
|
||||
character = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
fp3_struggle_involves_one_supporter_and_one_detractor = {
|
||||
FIRST = scope:puppet_or_actor
|
||||
SECOND = scope:recipient
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
any_character_struggle = {
|
||||
#involvement = involved
|
||||
activate_struggle_catalyst_secondary_character_involvement_either_trigger = {
|
||||
CATALYST = catalyst_gift_supporter_detractor_ruler
|
||||
CHAR = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
scope:puppet_or_actor = {
|
||||
every_character_struggle = {
|
||||
#involvement = involved
|
||||
limit = {
|
||||
activate_struggle_catalyst_secondary_character_involvement_either_trigger = {
|
||||
CATALYST = catalyst_gift_supporter_detractor_ruler
|
||||
CHAR = scope:recipient
|
||||
}
|
||||
}
|
||||
activate_struggle_catalyst = {
|
||||
catalyst = catalyst_gift_supporter_detractor_ruler
|
||||
character = scope:puppet_or_actor
|
||||
}
|
||||
log_debug_variable_for_persian_struggle_effect = { VAR = concession_catalyst_gift_supporter_detractor_ruler }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# FP2 Urbanism Legacy Perk 2: increase cultural acceptance when gifting a republican vassal
|
||||
if = {
|
||||
|
|
@ -574,39 +589,39 @@ gift_interaction = {
|
|||
}
|
||||
|
||||
# Struggle motive
|
||||
# modifier = {
|
||||
# desc = AI_STRUGGLE_INTENT
|
||||
# scope:recipient = {
|
||||
# top_liege = this
|
||||
# any_character_struggle = {
|
||||
# involvement = involved
|
||||
# }
|
||||
# }
|
||||
# add = {
|
||||
# value = 0
|
||||
# if = {
|
||||
# limit = {
|
||||
# scope:recipient = {
|
||||
# any_character_struggle = {
|
||||
# phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
# }
|
||||
# has_character_flag = agenda_towards_escalation
|
||||
# }
|
||||
# }
|
||||
# add = -100
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# scope:recipient = {
|
||||
# any_character_struggle = {
|
||||
# phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# add = 200
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
modifier = {
|
||||
desc = AI_STRUGGLE_INTENT
|
||||
scope:recipient = {
|
||||
top_liege = this
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
any_character_struggle = {
|
||||
phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
}
|
||||
has_character_flag = agenda_towards_escalation
|
||||
}
|
||||
}
|
||||
add = -100
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:recipient = {
|
||||
any_character_struggle = {
|
||||
phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
}
|
||||
}
|
||||
}
|
||||
add = 200
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = {
|
||||
|
|
@ -768,93 +783,93 @@ gift_interaction = {
|
|||
has_relation_rival = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
# AND = { # Independent ruler within the struggle should be considered
|
||||
# any_character_struggle = {
|
||||
# phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
# }
|
||||
# }
|
||||
AND = { # Independent ruler within the struggle should be considered
|
||||
any_character_struggle = {
|
||||
phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Struggle
|
||||
# modifier = {
|
||||
# scope:recipient = {
|
||||
# any_character_struggle = {
|
||||
# involvement = involved
|
||||
# phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
# }
|
||||
# }
|
||||
# scope:puppet_or_actor = {
|
||||
# any_character_struggle = {
|
||||
# involvement = involved
|
||||
# phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
# }
|
||||
# NOT = {
|
||||
# has_relation_rival = scope:recipient
|
||||
# }
|
||||
# }
|
||||
# add = {
|
||||
# value = 0
|
||||
# if = {
|
||||
# limit = {
|
||||
# scope:puppet_or_actor = {
|
||||
# has_character_flag = agenda_towards_escalation
|
||||
# }
|
||||
# }
|
||||
# add = -100
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# scope:puppet_or_actor = {
|
||||
# has_character_flag = agenda_towards_deescalation
|
||||
# }
|
||||
# scope:recipient = {
|
||||
# has_character_flag = agenda_towards_deescalation
|
||||
# }
|
||||
# }
|
||||
# add = {
|
||||
# value = 150
|
||||
# if = {
|
||||
# limit = { scope:recipient = { is_ai = no} }
|
||||
# add = 150 # higher for human player to Prioritize them
|
||||
# }
|
||||
# # Then lower the intent depending on the gold reserve
|
||||
# # Base value applied if the AI has 3x the gold cutoff
|
||||
# multiply = {
|
||||
# value = short_term_gold
|
||||
# divide = {
|
||||
# value = gift_interaction_cutoff
|
||||
# multiply = 3
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# scope:puppet_or_actor = {
|
||||
# has_character_flag = agenda_towards_deescalation
|
||||
# }
|
||||
# }
|
||||
# add = {
|
||||
# value = 25
|
||||
# if = {
|
||||
# limit = { scope:recipient = { is_ai = no} }
|
||||
# add = 150 # higher for human player to Prioritize them
|
||||
# }
|
||||
# # Then lower the intent depending on the gold reserve
|
||||
# # Base value applied if the AI has 3x the gold cutoff
|
||||
# multiply = {
|
||||
# value = short_term_gold
|
||||
# divide = {
|
||||
# value = gift_interaction_cutoff
|
||||
# multiply = 3
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
modifier = {
|
||||
scope:recipient = {
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
}
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
phase_has_catalyst = catalyst_gift_independent_ruler
|
||||
}
|
||||
NOT = {
|
||||
has_relation_rival = scope:recipient
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_character_flag = agenda_towards_escalation
|
||||
}
|
||||
}
|
||||
add = -100
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_character_flag = agenda_towards_deescalation
|
||||
}
|
||||
scope:recipient = {
|
||||
has_character_flag = agenda_towards_deescalation
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = 150
|
||||
if = {
|
||||
limit = { scope:recipient = { is_ai = no} }
|
||||
add = 150 # higher for human player to Prioritize them
|
||||
}
|
||||
# Then lower the intent depending on the gold reserve
|
||||
# Base value applied if the AI has 3x the gold cutoff
|
||||
multiply = {
|
||||
value = short_term_gold
|
||||
divide = {
|
||||
value = gift_interaction_cutoff
|
||||
multiply = 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor = {
|
||||
has_character_flag = agenda_towards_deescalation
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = 25
|
||||
if = {
|
||||
limit = { scope:recipient = { is_ai = no} }
|
||||
add = 150 # higher for human player to Prioritize them
|
||||
}
|
||||
# Then lower the intent depending on the gold reserve
|
||||
# Base value applied if the AI has 3x the gold cutoff
|
||||
multiply = {
|
||||
value = short_term_gold
|
||||
divide = {
|
||||
value = gift_interaction_cutoff
|
||||
multiply = 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0.1
|
||||
|
|
@ -872,18 +887,18 @@ gift_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
# modifier = {
|
||||
# add = 100
|
||||
# scope:puppet_or_actor = {
|
||||
# is_at_war = no
|
||||
# has_trait = fp3_struggle_supporter
|
||||
# any_character_struggle = { is_struggle_type = persian_struggle }
|
||||
# }
|
||||
# scope:recipient = {
|
||||
# title:d_sunni.holder ?= this
|
||||
# gold < 0
|
||||
# }
|
||||
# }
|
||||
modifier = {
|
||||
add = 100
|
||||
scope:puppet_or_actor = {
|
||||
is_at_war = no
|
||||
has_trait = fp3_struggle_supporter
|
||||
any_character_struggle = { is_struggle_type = persian_struggle }
|
||||
}
|
||||
scope:recipient = {
|
||||
title:d_sunni.holder ?= this
|
||||
gold < 0
|
||||
}
|
||||
}
|
||||
|
||||
# Nomads are slightly less likely to do this since they'd prefer to send Herd instead
|
||||
modifier = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue