ALL THE WAY TO DECISIONS DONE
This commit is contained in:
parent
359420bc6b
commit
d758b987c9
112 changed files with 20676 additions and 14484 deletions
|
|
@ -3223,6 +3223,9 @@ excommunicate_interaction = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
NOT = { has_trait = excommunicated }
|
||||
}
|
||||
scope:puppet_or_actor ?= {
|
||||
this != scope:recipient
|
||||
#Pope or Bishop
|
||||
|
|
@ -3489,28 +3492,11 @@ lift_excommunication_interaction = {
|
|||
}
|
||||
|
||||
is_shown = {
|
||||
scope:puppet_or_actor ?= {
|
||||
#Pope or Bishop
|
||||
OR = {
|
||||
AND = {
|
||||
is_clergy = yes
|
||||
is_ruler = yes
|
||||
}
|
||||
religious_head_or_challenger ?= scope:puppet_or_actor
|
||||
}
|
||||
NOT = {
|
||||
religious_head_or_challenger ?= scope:recipient
|
||||
}
|
||||
faith ?= {
|
||||
has_doctrine = doctrine_spiritual_head
|
||||
faith_has_sacraments_central_trigger = yes
|
||||
this = scope:recipient.faith
|
||||
}
|
||||
}
|
||||
scope:recipient = {
|
||||
has_trait = excommunicated
|
||||
this != scope:puppet_or_actor
|
||||
can_lift_excommunication_interaction_trigger = {
|
||||
EXCOMMUNICATED = scope:recipient
|
||||
LIFTER = scope:puppet_or_actor
|
||||
}
|
||||
scope:recipient != scope:puppet_or_actor
|
||||
}
|
||||
|
||||
cost = {
|
||||
|
|
@ -3520,6 +3506,10 @@ lift_excommunication_interaction = {
|
|||
limit = { scope:is_puppet_action ?= yes }
|
||||
multiply = 0
|
||||
}
|
||||
if = {
|
||||
limit = { scope:offer_pilgrimage ?= yes }
|
||||
multiply = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3542,13 +3532,88 @@ lift_excommunication_interaction = {
|
|||
pam_valid_excommunication_target_trigger = { EXCOMMUNICATOR = scope:puppet_or_actor }
|
||||
}
|
||||
}
|
||||
|
||||
send_option = {
|
||||
is_valid = {
|
||||
scope:recipient = { gold >= major_gold_value }
|
||||
}
|
||||
flag = excommunication_demand_gold
|
||||
localization = request_gold
|
||||
}
|
||||
send_option = {
|
||||
is_valid = {
|
||||
NOT = {
|
||||
scope:actor = { has_hook = scope:recipient }
|
||||
}
|
||||
}
|
||||
flag = excommunication_demand_hook
|
||||
localization = RANSOM_FAVOR_OPTION
|
||||
}
|
||||
send_option = {
|
||||
is_valid = {
|
||||
scope:recipient = {
|
||||
NOT = { has_character_modifier = promised_pilgrimage_to_clergy_modifier }
|
||||
}
|
||||
}
|
||||
flag = offer_pilgrimage
|
||||
localization = LIFT_EXCOMMUNICATION_INTERACTION_OPTION_PILGRIMAGE
|
||||
}
|
||||
|
||||
send_options_exclusive = no
|
||||
|
||||
auto_accept = {
|
||||
NOR = {
|
||||
scope:excommunication_demand_gold ?= yes
|
||||
scope:excommunication_demand_hook ?= yes
|
||||
scope:offer_pilgrimage ?= yes
|
||||
}
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
force_notification = yes
|
||||
notification_text = religious_interaction.1024
|
||||
#answer_accept_key = religious_interaction.1024.positive
|
||||
notification_text = {
|
||||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = { scope:excommunication_demand_gold ?= yes }
|
||||
desc = LIFT_EXCOMMUNICATION_INTERACTION_NOTIFICATION_GOLD
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:excommunication_demand_hook ?= yes }
|
||||
desc = LIFT_EXCOMMUNICATION_INTERACTION_NOTIFICATION_HOOK
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = { scope:offer_pilgrimage ?= yes }
|
||||
desc = LIFT_EXCOMMUNICATION_INTERACTION_NOTIFICATION_PILGRIMAGE
|
||||
}
|
||||
desc = LIFT_EXCOMMUNICATION_INTERACTION_NOTIFICATION
|
||||
}
|
||||
}
|
||||
|
||||
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 = {
|
||||
|
|
@ -3619,6 +3684,58 @@ lift_excommunication_interaction = {
|
|||
hegemony = 12
|
||||
}
|
||||
|
||||
ai_accept = {
|
||||
base = 50
|
||||
opinion_modifier = {
|
||||
opinion_target = scope:actor
|
||||
multiplier = 0.5
|
||||
}
|
||||
modifier = {
|
||||
rite != scope:actor.rite
|
||||
add = -25
|
||||
desc = DIFFERENT_RITE_REASON
|
||||
}
|
||||
modifier = {
|
||||
scope:excommunication_demand_gold = yes
|
||||
add = -25
|
||||
desc = GOLD_INTERACTION_ACCEPTANCE_SEND_OPTION
|
||||
}
|
||||
modifier = {
|
||||
scope:excommunication_demand_gold = yes
|
||||
gold < major_gold_value
|
||||
add = -25
|
||||
desc = GOLD_NEGATIVE_REASON
|
||||
}
|
||||
modifier = {
|
||||
scope:excommunication_demand_gold = yes
|
||||
gold > 0
|
||||
add = {
|
||||
value = gold
|
||||
multiply = 0.25
|
||||
ceiling = yes
|
||||
}
|
||||
desc = AI_RECIPIENT_GOLD_REASON
|
||||
}
|
||||
modifier = {
|
||||
scope:excommunication_demand_hook = yes
|
||||
add = -25
|
||||
desc = ASKING_FOR_WEAK_HOOK_ACCEPTANCE_TT
|
||||
}
|
||||
modifier = {
|
||||
scope:offer_pilgrimage = yes
|
||||
add = -10
|
||||
desc = DEMANDING_PILGRIMAGE_REASON
|
||||
}
|
||||
modifier = {
|
||||
OR = {
|
||||
var:requested_my_excommunication ?= scope:actor
|
||||
var:excommunication_issuer ?= scope:actor
|
||||
}
|
||||
add = -25
|
||||
desc = EXCOMMUNICATED_ME_REASON
|
||||
}
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 10
|
||||
|
||||
|
|
@ -3646,6 +3763,11 @@ lift_excommunication_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
scope:puppet_or_actor.imprisoner ?= scope:recipient
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0
|
||||
scope:puppet_or_actor = {
|
||||
|
|
@ -4022,6 +4144,7 @@ request_excommunication_interaction = {
|
|||
desc = EXCOMMUNICATION_DEFIED_CHURCH_PEACE
|
||||
}
|
||||
opinion_modifier = {
|
||||
trigger = { scope:recipient != scope:puppet_or_actor }
|
||||
who = scope:recipient
|
||||
opinion_target = scope:puppet_or_actor
|
||||
multiplier = 1
|
||||
|
|
@ -4091,11 +4214,6 @@ request_excommunication_interaction = {
|
|||
}
|
||||
desc = the_christian_church_phase_value_tt
|
||||
}
|
||||
modifier = {
|
||||
add = 100
|
||||
scope:puppet_or_actor.puppet:theological_agent_puppet ?= scope:recipient
|
||||
desc = IS_YOUR_PUPPET
|
||||
}
|
||||
modifier = {
|
||||
add = -1000
|
||||
scope:recipient.puppeteer ?= scope:secondary_recipient
|
||||
|
|
@ -5648,7 +5766,7 @@ take_vows_interaction = {
|
|||
take_vows_faith_opinion_effect = yes
|
||||
if = {
|
||||
limit = {
|
||||
house = {
|
||||
house ?= {
|
||||
has_house_aspiration_parameter = humility_take_the_vows_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -12414,6 +12532,81 @@ offer_bedside_support_interaction = {
|
|||
}
|
||||
}
|
||||
|
||||
priest_kings_consecrate_temple_interaction = {
|
||||
category = interaction_category_religion
|
||||
icon = religious
|
||||
common_interaction = yes
|
||||
interface_priority = 50
|
||||
desc = priest_kings_consecrate_temple_interaction_desc
|
||||
target_type = title
|
||||
target_filter = actor_domain_titles
|
||||
auto_accept = yes
|
||||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
this = scope:recipient
|
||||
OR = {
|
||||
AND = {
|
||||
government_has_flag = government_is_theocracy
|
||||
culture = { has_cultural_parameter = priest_kings_temple_citadels_enabled }
|
||||
}
|
||||
rite ?= { rite_has_parameter = NEOW_can_build_citadels }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_available = {
|
||||
OR = {
|
||||
AND = {
|
||||
government_has_flag = government_is_theocracy
|
||||
culture = { has_cultural_parameter = priest_kings_temple_citadels_enabled }
|
||||
}
|
||||
rite ?= { rite_has_parameter = NEOW_can_build_citadels }
|
||||
}
|
||||
}
|
||||
|
||||
can_be_picked_title = {
|
||||
scope:target = {
|
||||
holder = scope:actor
|
||||
is_capital_barony = no
|
||||
tier <= tier_county
|
||||
title_province = { has_holding_type = church_holding }
|
||||
}
|
||||
}
|
||||
|
||||
has_valid_target_showing_failures_only = {
|
||||
scope:target.title_province = {
|
||||
barony_controller = scope:actor
|
||||
has_holding_type = church_holding
|
||||
has_ongoing_construction = no
|
||||
}
|
||||
}
|
||||
|
||||
cost = {
|
||||
treasury_or_gold = {
|
||||
scope:actor = { add = 500 }
|
||||
}
|
||||
piety = {
|
||||
scope:actor = { add = 500 }
|
||||
}
|
||||
}
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = priest_kings_consecrate_temple_interaction_notification
|
||||
right_icon = scope:actor
|
||||
scope:target.title_province ?= {
|
||||
set_holding_type = temple_citadel_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_will_do = { base = 20 }
|
||||
}
|
||||
|
||||
#Get Monastic Order to spread tenet
|
||||
#By Mother Superior Jasonetta Cantalini
|
||||
monastic_espouse_beliefs_interaction = {
|
||||
|
|
@ -12583,78 +12776,3 @@ monastic_espouse_beliefs_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
priest_kings_consecrate_temple_interaction = {
|
||||
category = interaction_category_religion
|
||||
icon = religious
|
||||
common_interaction = yes
|
||||
interface_priority = 50
|
||||
desc = priest_kings_consecrate_temple_interaction_desc
|
||||
target_type = title
|
||||
target_filter = actor_domain_titles
|
||||
auto_accept = yes
|
||||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
this = scope:recipient
|
||||
OR = {
|
||||
AND = {
|
||||
government_has_flag = government_is_theocracy
|
||||
culture = { has_cultural_parameter = priest_kings_temple_citadels_enabled }
|
||||
}
|
||||
rite ?= { rite_has_parameter = NEOW_can_build_citadels }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_available = {
|
||||
OR = {
|
||||
AND = {
|
||||
government_has_flag = government_is_theocracy
|
||||
culture = { has_cultural_parameter = priest_kings_temple_citadels_enabled }
|
||||
}
|
||||
rite ?= { rite_has_parameter = NEOW_can_build_citadels }
|
||||
}
|
||||
}
|
||||
|
||||
can_be_picked_title = {
|
||||
scope:target = {
|
||||
holder = scope:actor
|
||||
is_capital_barony = no
|
||||
tier <= tier_county
|
||||
title_province = { has_holding_type = church_holding }
|
||||
}
|
||||
}
|
||||
|
||||
has_valid_target_showing_failures_only = {
|
||||
scope:target.title_province = {
|
||||
barony_controller = scope:actor
|
||||
has_holding_type = church_holding
|
||||
has_ongoing_construction = no
|
||||
}
|
||||
}
|
||||
|
||||
cost = {
|
||||
treasury_or_gold = {
|
||||
scope:actor = { add = 500 }
|
||||
}
|
||||
piety = {
|
||||
scope:actor = { add = 500 }
|
||||
}
|
||||
}
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_good
|
||||
title = priest_kings_consecrate_temple_interaction_notification
|
||||
right_icon = scope:actor
|
||||
scope:target.title_province ?= {
|
||||
set_holding_type = temple_citadel_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_will_do = { base = 20 }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue