slopfixholystiyeandinteraction
This commit is contained in:
parent
9058ad6a22
commit
8d9f3e717d
9 changed files with 605 additions and 806 deletions
|
|
@ -2889,6 +2889,8 @@ declaration_of_repentance_interaction = {
|
|||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
scope:puppet_or_actor = { has_trait = excommunicated }
|
||||
scope:recipient = { faith = scope:puppet_or_actor.faith }
|
||||
scope:puppet_or_actor ?= {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
|
|
@ -3128,29 +3130,32 @@ declaration_of_repentance_interaction = {
|
|||
ai_max_reply_days = 5
|
||||
|
||||
on_accept = {
|
||||
declaration_of_repentance_interaction_effect = yes
|
||||
if = {
|
||||
limit = { scope:puppet_or_actor = { has_trait = excommunicated } }
|
||||
declaration_of_repentance_interaction_effect = yes
|
||||
|
||||
scope:puppet_or_actor = {
|
||||
#Letter event to inform character that their excommunication has been lifted.
|
||||
trigger_event = {
|
||||
id = religious_interaction.1024
|
||||
scope:puppet_or_actor = {
|
||||
#Letter event to inform character that their excommunication has been lifted.
|
||||
trigger_event = {
|
||||
id = religious_interaction.1024
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
non_pope_lifting_excommunication_penalty_effect = yes
|
||||
non_pope_lifting_excommunication_penalty_effect = yes
|
||||
|
||||
pam_offer_pilgrimage_effect = {
|
||||
ACTOR = scope:puppet_or_actor
|
||||
CLERIC = scope:recipient
|
||||
}
|
||||
pam_offer_pilgrimage_effect = {
|
||||
ACTOR = scope:puppet_or_actor
|
||||
CLERIC = scope:recipient
|
||||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
DESC = clan_unity_repentance.desc
|
||||
REVERSE_NON_HOUSE_TARGET = no
|
||||
# If we're a clan this interaction affects unity
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
DESC = clan_unity_repentance.desc
|
||||
REVERSE_NON_HOUSE_TARGET = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3516,7 +3521,10 @@ lift_excommunication_interaction = {
|
|||
is_valid_showing_failures_only = {
|
||||
scope:puppet_or_actor = {
|
||||
trigger_if = {
|
||||
limit = { scope:is_puppet_action ?= yes }
|
||||
limit = {
|
||||
scope:is_puppet_action ?= yes
|
||||
NOT = { scope:offer_pilgrimage ?= yes }
|
||||
}
|
||||
piety >= lift_excommunication_interaction_cost_value
|
||||
}
|
||||
highest_held_title_tier >= tier_duchy
|
||||
|
|
@ -3528,8 +3536,9 @@ lift_excommunication_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
pam_valid_excommunication_target_trigger = { EXCOMMUNICATOR = scope:puppet_or_actor }
|
||||
can_lift_excommunication_interaction_trigger = {
|
||||
EXCOMMUNICATED = scope:recipient
|
||||
LIFTER = scope:puppet_or_actor
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3589,73 +3598,81 @@ lift_excommunication_interaction = {
|
|||
}
|
||||
|
||||
on_accept = {
|
||||
scope:recipient = {
|
||||
if = {
|
||||
limit = { scope:excommunication_demand_gold = yes }
|
||||
pay_short_term_gold = {
|
||||
gold = major_gold_value
|
||||
target = scope:actor
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { scope:excommunication_demand_hook = yes }
|
||||
scope:actor = {
|
||||
add_hook = {
|
||||
type = indebted_hook
|
||||
target = scope:recipient
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { scope:offer_pilgrimage = yes }
|
||||
pam_offer_pilgrimage_effect = {
|
||||
ACTOR = scope:recipient
|
||||
CLERIC = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { scope:is_puppet_action ?= yes }
|
||||
scope:puppet_or_actor = {
|
||||
add_piety = {
|
||||
value = {
|
||||
value = lift_excommunication_interaction_cost_value
|
||||
max = piety
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
limit = {
|
||||
scope:recipient = { has_trait = excommunicated }
|
||||
}
|
||||
}
|
||||
lift_character_excommunication_effect = {
|
||||
TARGET_CHARACTER = scope:recipient
|
||||
REQUESTING_CHARACTER = scope:puppet_or_actor
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { this = scope:recipient }
|
||||
any_character_situation = { situation_type = the_christian_church }
|
||||
situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_lift_excommunication }
|
||||
scope:recipient = {
|
||||
if = {
|
||||
limit = { scope:excommunication_demand_gold = yes }
|
||||
pay_short_term_gold = {
|
||||
gold = major_gold_value
|
||||
target = scope:actor
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = { highest_held_title_tier >= tier_kingdom }
|
||||
limit = { scope:excommunication_demand_hook = yes }
|
||||
scope:actor = {
|
||||
add_hook = {
|
||||
type = indebted_hook
|
||||
target = scope:recipient
|
||||
}
|
||||
}
|
||||
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication }
|
||||
}
|
||||
else = {
|
||||
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication_minor }
|
||||
if = {
|
||||
limit = { scope:offer_pilgrimage = yes }
|
||||
pam_offer_pilgrimage_effect = {
|
||||
ACTOR = scope:recipient
|
||||
CLERIC = scope:actor
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:is_puppet_action ?= yes
|
||||
NOT = { scope:offer_pilgrimage ?= yes }
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
add_piety = {
|
||||
value = {
|
||||
value = lift_excommunication_interaction_cost_value
|
||||
max = piety
|
||||
multiply = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lift_character_excommunication_effect = {
|
||||
TARGET_CHARACTER = scope:recipient
|
||||
REQUESTING_CHARACTER = scope:puppet_or_actor
|
||||
}
|
||||
scope:puppet_or_actor = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { this = scope:recipient }
|
||||
any_character_situation = { situation_type = the_christian_church }
|
||||
situation:the_christian_church ?= { situation_top_has_catalyst = catalyst_lift_excommunication }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:recipient = { highest_held_title_tier >= tier_kingdom }
|
||||
}
|
||||
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication }
|
||||
}
|
||||
else = {
|
||||
situation:the_christian_church = { trigger_situation_catalyst = catalyst_lift_excommunication_minor }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# If we're a clan this interaction affects unity
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
DESC = clan_unity_excommunication_lifted
|
||||
REVERSE_NON_HOUSE_TARGET = no
|
||||
# If we're a clan this interaction affects unity
|
||||
add_house_unity_interaction_effect = {
|
||||
CHARACTER = scope:puppet_or_actor
|
||||
TARGET = scope:recipient
|
||||
VALUE = medium_unity_gain
|
||||
DESC = clan_unity_excommunication_lifted
|
||||
REVERSE_NON_HOUSE_TARGET = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -6575,10 +6592,6 @@ temporal_condemnation_interaction = {
|
|||
category = interaction_category_religion
|
||||
desc = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:puppet_or_actor.faith = faith:quranist }
|
||||
desc = temporal_condemnation_interaction_desc_fasiq
|
||||
}
|
||||
desc = temporal_condemnation_interaction_desc
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue