fixes big evebts abd on actions plus mroe
This commit is contained in:
parent
c9d520e5a1
commit
bce2aa31a1
207 changed files with 100377 additions and 9296 deletions
|
|
@ -17,7 +17,7 @@ pam_clergy_events.0001 = {
|
|||
|
||||
trigger = {
|
||||
is_ai = no
|
||||
primary_title = title:k_papal_state
|
||||
has_title = title:k_papal_state
|
||||
exists = cp:councillor_court_chaplain
|
||||
}
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ pam_clergy_events.0010 = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:cardinal_improve_development = yes
|
||||
scope:cardinal_improve_prosperity = yes
|
||||
}
|
||||
desc = pam_clergy_events.0010.desc.develop
|
||||
}
|
||||
|
|
@ -508,6 +508,37 @@ pam_clergy_events.0043 = {
|
|||
}
|
||||
}
|
||||
|
||||
scripted_effect pam_clear_clerical_region_treasury_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
primary_title = scope:title
|
||||
has_treasury = yes
|
||||
}
|
||||
empty_treasury_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
# Clerical region destroy events
|
||||
# HoF cannot convert and they stay alive even if landless
|
||||
pam_clergy_events.0050 = {
|
||||
theme = christian
|
||||
type = character_event
|
||||
title = pam_clergy_events.0052.t
|
||||
desc = pam_clergy_events.0052.desc
|
||||
trigger = {
|
||||
government_has_flag = government_is_theocracy
|
||||
OR = {
|
||||
faith.religious_head ?= this
|
||||
is_proto_hof_trigger = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = pam_clergy_events.0052.a
|
||||
pam_clear_clerical_region_treasury_effect = yes
|
||||
destroy_title = scope:title
|
||||
}
|
||||
}
|
||||
|
||||
###################################################################
|
||||
## 0051 - Clerical region capital converts (player holder) ## ##
|
||||
###################################################################
|
||||
|
|
@ -523,6 +554,7 @@ scripted_effect pam_strip_personal_landed_titles_effect = {
|
|||
scope:reason != flag:character_converted
|
||||
}
|
||||
has_clerical_region = no
|
||||
pam_title_is_clerical_elector_trigger = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -533,8 +565,8 @@ scripted_effect pam_strip_personal_landed_titles_effect = {
|
|||
}
|
||||
|
||||
if = {
|
||||
limit = { exists = root.var:old_rite }
|
||||
root.var:old_rite = { save_scope_as = pam_strip_see_rite }
|
||||
limit = { exists = scope:old_rite }
|
||||
scope:old_rite = { save_scope_as = pam_strip_see_rite }
|
||||
}
|
||||
else_if = {
|
||||
limit = { exists = scope:county.rite }
|
||||
|
|
@ -620,6 +652,7 @@ scripted_effect pam_strip_personal_landed_titles_effect = {
|
|||
scope:reason != flag:character_converted
|
||||
}
|
||||
has_clerical_region = no
|
||||
pam_title_is_clerical_elector_trigger = no
|
||||
}
|
||||
}
|
||||
change_title_holder_include_vassals = {
|
||||
|
|
@ -781,6 +814,11 @@ pam_clergy_events.0051 = {
|
|||
}
|
||||
resolve_title_and_vassal_change = scope:pam_translation_change
|
||||
|
||||
if = {
|
||||
limit = { primary_title = scope:title }
|
||||
set_primary_title_to = scope:translation_see
|
||||
}
|
||||
hidden_effect = { pam_clear_clerical_region_treasury_effect = yes }
|
||||
destroy_title = scope:title
|
||||
pam_strip_personal_landed_titles_effect = yes
|
||||
}
|
||||
|
|
@ -792,10 +830,11 @@ pam_clergy_events.0051 = {
|
|||
custom_tooltip = pam_clergy_events.0051.c.tt
|
||||
|
||||
pam_strip_personal_landed_titles_effect = yes
|
||||
pam_clear_clerical_region_treasury_effect = yes
|
||||
destroy_title = scope:title
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = { has_dlc_feature = roads_to_power }
|
||||
limit = { has_playable_adventurer_dlc_trigger = yes }
|
||||
create_landless_adventurer_title_effect = {
|
||||
REASON = flag:wanderer
|
||||
FLAVOR_CHAR = root
|
||||
|
|
@ -835,11 +874,12 @@ pam_clergy_events.0052 = {
|
|||
pam_strip_personal_landed_titles_effect = yes
|
||||
if = {
|
||||
limit = { scope:reason != flag:character_converted }
|
||||
pam_clear_clerical_region_treasury_effect = yes
|
||||
destroy_title = scope:title
|
||||
}
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = { has_dlc_feature = roads_to_power }
|
||||
limit = { has_playable_adventurer_dlc_trigger = yes }
|
||||
create_landless_adventurer_title_effect = {
|
||||
REASON = flag:wanderer
|
||||
FLAVOR_CHAR = root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue