character interactions done
This commit is contained in:
parent
e901161148
commit
dc9cb17a1e
11 changed files with 193 additions and 350 deletions
|
|
@ -2182,6 +2182,7 @@ convert_to_religion_adventurer_interaction = {
|
|||
scope:actor = {
|
||||
hidden_effect = { faith = { save_scope_as = old_faith } }
|
||||
set_character_faith = scope:recipient.faith
|
||||
set_character_rite = scope:recipient.rite
|
||||
trigger_event = {
|
||||
on_action = on_faith_conversion
|
||||
}
|
||||
|
|
@ -2473,6 +2474,16 @@ seek_indulgences_interaction = {
|
|||
}
|
||||
scope:puppet_or_actor ?= { is_following_religious_head_challenger = no }
|
||||
}
|
||||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
cp:councillor_court_chaplain ?= scope:recipient
|
||||
pam_is_archbishop_or_higher_trigger = no
|
||||
actor_has_capital_archbishop_trigger = yes
|
||||
}
|
||||
seek_indulgences_recipient_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cooldown = { years = 5 }
|
||||
|
|
@ -3453,6 +3464,11 @@ excommunicate_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
scope:puppet_or_actor.puppeteer ?= scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3795,7 +3811,9 @@ request_excommunication_interaction = {
|
|||
any_faith_subordinate = {
|
||||
highest_held_title_tier >= tier_duchy
|
||||
save_temporary_scope_as = cleric_temp
|
||||
pam_valid_excommunication_target_trigger = { EXCOMMUNICATOR = scope:cleric_temp }
|
||||
scope:secondary_recipient = {
|
||||
pam_valid_excommunication_target_trigger = { EXCOMMUNICATOR = scope:cleric_temp }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3807,19 +3825,19 @@ request_excommunication_interaction = {
|
|||
scope:secondary_recipient = {
|
||||
NOT = { has_strong_hook = scope:puppet_or_actor }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
petition_head_of_faith_excommunication_target_requires_petition_trigger = yes
|
||||
NOT = { scope:excommunication_hook = yes }
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
piety >= massive_piety_value
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
petition_head_of_faith_excommunication_target_requires_petition_trigger = yes
|
||||
NOT = { scope:excommunication_hook = yes }
|
||||
}
|
||||
trigger_else = {
|
||||
scope:puppet_or_actor = {
|
||||
piety >= request_excommunication_piety_cost_value
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
piety >= massive_piety_value
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
scope:puppet_or_actor = {
|
||||
piety >= request_excommunication_piety_cost_value
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3998,6 +4016,11 @@ request_excommunication_interaction = {
|
|||
add = 15
|
||||
desc = EXCOMMUNICATION_EXECUTED_HOF
|
||||
}
|
||||
modifier = {
|
||||
scope:secondary_recipient ?= { has_character_modifier = pam_defied_church_peace_modifier }
|
||||
add = 50
|
||||
desc = EXCOMMUNICATION_DEFIED_CHURCH_PEACE
|
||||
}
|
||||
opinion_modifier = {
|
||||
who = scope:recipient
|
||||
opinion_target = scope:puppet_or_actor
|
||||
|
|
@ -4073,6 +4096,11 @@ request_excommunication_interaction = {
|
|||
scope:puppet_or_actor.puppet:theological_agent_puppet ?= scope:recipient
|
||||
desc = IS_YOUR_PUPPET
|
||||
}
|
||||
modifier = {
|
||||
add = -1000
|
||||
scope:recipient.puppeteer ?= scope:secondary_recipient
|
||||
desc = EXCOMMUNICATION_TARGET_IS_PUPPETEER
|
||||
}
|
||||
secular_to_ecclesiastical_pam_factors_acceptance_modifier = yes
|
||||
}
|
||||
|
||||
|
|
@ -4134,7 +4162,6 @@ request_excommunication_interaction = {
|
|||
add_piety = {
|
||||
value = {
|
||||
value = request_excommunication_piety_cost_value
|
||||
max = piety
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
|
|
@ -4317,6 +4344,11 @@ request_excommunication_interaction = {
|
|||
faith = scope:puppet_or_actor.faith
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
scope:puppet_or_actor.puppeteer ?= scope:secondary_recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -6456,22 +6488,6 @@ temporal_condemnation_interaction = {
|
|||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:recipient.religion = scope:puppet_or_actor.religion
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:puppet_or_actor.rite ?= {
|
||||
rite_has_parameter = neow_charismatic_lay_preaching
|
||||
NOT = { rite_has_tenet = tenet_religious_legal_pronouncements }
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = neow_charismatic_condemn_sinner_tt
|
||||
scope:recipient = {
|
||||
any_character_trait = {
|
||||
scope:puppet_or_actor.rite = { trait_is_sin_rite = prev }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_description = {
|
||||
text = temporal_condemnation_has_been_condemned
|
||||
object = scope:recipient
|
||||
|
|
@ -6994,6 +7010,16 @@ hof_ask_for_gold_interaction = {
|
|||
}
|
||||
scope:puppet_or_actor ?= { is_following_religious_head_challenger = no }
|
||||
}
|
||||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
cp:councillor_court_chaplain ?= scope:recipient
|
||||
pam_is_archbishop_or_higher_trigger = no
|
||||
actor_has_capital_archbishop_trigger = yes
|
||||
}
|
||||
capital_county.clerical_region_title.holder ?= scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
|
|
@ -10851,7 +10877,7 @@ monastic_donation_interaction = {
|
|||
|
||||
ai_min_reply_days = 3
|
||||
ai_max_reply_days = 6
|
||||
common_interaction = yes
|
||||
common_interaction = no
|
||||
|
||||
cooldown_against_recipient = { years = 5 }
|
||||
|
||||
|
|
@ -11552,7 +11578,7 @@ lease_title_to_existing_monastic_order_interaction = {
|
|||
|
||||
ai_min_reply_days = 3
|
||||
ai_max_reply_days = 6
|
||||
common_interaction = yes
|
||||
common_interaction = no
|
||||
|
||||
desc = lease_title_to_existing_monastic_order_interaction_desc
|
||||
|
||||
|
|
@ -11636,6 +11662,13 @@ lease_title_to_existing_monastic_order_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = already_has_monastic_lease_tt
|
||||
trigger_if = {
|
||||
limit = { has_variable = pending_monastic_order_lease }
|
||||
var:pending_monastic_order_lease = scope:recipient
|
||||
}
|
||||
}
|
||||
is_landless_type_title = no
|
||||
}
|
||||
}
|
||||
|
|
@ -11742,7 +11775,16 @@ lease_title_to_existing_monastic_order_interaction = {
|
|||
}
|
||||
|
||||
on_send = {
|
||||
}
|
||||
hidden_effect = {
|
||||
scope:target = {
|
||||
set_variable = {
|
||||
name = pending_monastic_order_lease
|
||||
value = scope:recipient
|
||||
days = 30 # Cleared in holy_order.2040/2041 as soon as the monastic order answers; the timeout is only a fallback
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_accept = {
|
||||
# Must search puppet_or_actor.faith like is_valid, or a different-faith barony finds no order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue