Religious Novelist HOF
This commit is contained in:
parent
64d514f32a
commit
be38e1ed10
4 changed files with 242 additions and 9 deletions
|
|
@ -2154,3 +2154,79 @@ convert_to_taoism = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
### Restore the [ROOT.Char.GetFaith.AltPriestTermPlural] ###
|
||||
novelist_restore_high_kingdom_decision = { #Updated for N3OW by edwardtheelbowhigh
|
||||
picture = {
|
||||
reference = "gfx/interface/illustrations/decisions/fp3/fp3_decision_foundation.dds"
|
||||
}
|
||||
desc = novelist_restore_high_kingdom_decision_desc
|
||||
selection_tooltip = novelist_restore_high_kingdom_decision_tooltip
|
||||
decision_group_type = major
|
||||
sort_order = 80
|
||||
|
||||
ai_check_interval_by_tier = {
|
||||
barony = 0
|
||||
county = 0
|
||||
duchy = 0
|
||||
kingdom = 120
|
||||
empire = 120
|
||||
hegemony = 120
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
is_ruler = yes
|
||||
is_playable_character = yes
|
||||
NOR = { #Can be redone if somehow the High Priest title is destroyed
|
||||
exists = faith.religious_head
|
||||
faith = { has_doctrine = doctrine_no_head } #Only if Faith is meant to have one.
|
||||
faith = { has_doctrine = doctrine_spiritual_head } #Cannot be done if you have taken the "Destroy the Magi" decision
|
||||
}
|
||||
OR = {
|
||||
faith = faith:carolingian
|
||||
faith = faith:absurdist
|
||||
faith = faith:rocambolist
|
||||
faith = faith:romanticist
|
||||
}
|
||||
}
|
||||
|
||||
is_valid = {
|
||||
piety_level >= high_piety_level
|
||||
highest_held_title_tier = tier_kingdom
|
||||
custom_description = {
|
||||
text = "restore_high_priesthood_holy_sites"
|
||||
faith = {
|
||||
any_holy_site = {
|
||||
OR = {
|
||||
county.holder = root
|
||||
county.holder.top_liege = { this = root }
|
||||
}
|
||||
count >= 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
is_landed = yes
|
||||
is_capable_adult = yes
|
||||
is_imprisoned = no
|
||||
top_liege = this
|
||||
is_at_war = no
|
||||
}
|
||||
|
||||
effect = {
|
||||
custom_tooltip = restore_novelist_high_kingdom_effect_tooltip
|
||||
trigger_event = {
|
||||
id = novelist_decisions.0001
|
||||
}
|
||||
}
|
||||
|
||||
ai_potential = {
|
||||
always = yes
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 100
|
||||
}
|
||||
}
|
||||
|
|
@ -272,6 +272,7 @@
|
|||
doctrine = tenet_unrelenting_faith
|
||||
doctrine = doctrine_temporal_head
|
||||
doctrine = doctrine_theocracy_lay_clergy
|
||||
doctrine = special_doctrine_not_allowed_to_hof
|
||||
#Coronation tradition
|
||||
doctrine = doctrine_no_anointment
|
||||
holy_order_names = { #placeholder
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@
|
|||
#Special/virtue
|
||||
doctrine = special_doctrine_numenor
|
||||
doctrine = doctrine_pluralism_pluralistic
|
||||
|
||||
doctrine = special_doctrine_not_allowed_to_hof
|
||||
holy_order_names = { #placeholder
|
||||
}
|
||||
|
||||
|
|
@ -297,7 +297,7 @@
|
|||
doctrine = doctrine_pluralism_pluralistic
|
||||
doctrine = doctrine_homosexuality_shunned
|
||||
doctrine = doctrine_pantheist
|
||||
|
||||
doctrine = special_doctrine_not_allowed_to_hof
|
||||
holy_order_names = { #placeholder
|
||||
}
|
||||
|
||||
|
|
@ -448,7 +448,7 @@
|
|||
#Special/virtue
|
||||
doctrine = special_doctrine_charlemagne
|
||||
doctrine = doctrine_pluralism_righteous
|
||||
|
||||
doctrine = special_doctrine_not_allowed_to_hof
|
||||
holy_order_names = { #placeholder
|
||||
}
|
||||
|
||||
|
|
@ -611,7 +611,7 @@
|
|||
doctrine = tenet_universal_scripture
|
||||
doctrine = tenet_adorcism
|
||||
doctrine = tenet_sacred_shadows
|
||||
|
||||
doctrine = special_doctrine_not_allowed_to_hof
|
||||
#Special/virtue
|
||||
doctrine = special_doctrine_rocambolist
|
||||
|
||||
|
|
@ -740,7 +740,7 @@
|
|||
color = { 0.9 0.5 0.1 }
|
||||
icon = aslanite
|
||||
|
||||
religious_head = k_aslanite_hof
|
||||
#religious_head = k_aslanite_hof
|
||||
|
||||
graphical_faith = "catholic_gfx"
|
||||
|
||||
|
|
@ -765,7 +765,7 @@
|
|||
doctrine = tenet_people_of_the_book
|
||||
doctrine = one_king_to_rule_them_all
|
||||
doctrine = doctrine_monotheist
|
||||
|
||||
doctrine = doctrine_no_head
|
||||
#Special/virtue
|
||||
doctrine = special_doctrine_aslan
|
||||
|
||||
|
|
@ -924,7 +924,7 @@
|
|||
doctrine = special_doctrine_reason_and_progress
|
||||
doctrine = doctrine_pluralism_fundamentalist
|
||||
doctrine = doctrine_monotheist
|
||||
|
||||
doctrine = doctrine_no_head
|
||||
holy_order_names = { #placeholder
|
||||
}
|
||||
|
||||
|
|
@ -1092,7 +1092,7 @@
|
|||
#Special/virtue
|
||||
doctrine = special_doctrine_absurdist
|
||||
doctrine = doctrine_pantheist
|
||||
|
||||
doctrine = special_doctrine_not_allowed_to_hof
|
||||
holy_order_names = { #placeholder
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -214,3 +214,159 @@ NEOW_religious_decision.0104 = { #custom icons for orthodoxy
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
novelist_decisions.0001 = {
|
||||
type = character_event
|
||||
title = novelist_decisions.0001.t
|
||||
desc = novelist_decisions.0001.desc
|
||||
theme = faith
|
||||
left_portrait = {
|
||||
character = scope:scoped_ruler
|
||||
animation = personality_zealous
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:new_priest
|
||||
animation = happiness
|
||||
}
|
||||
|
||||
immediate = {
|
||||
play_music_cue = "mx_cue_faith_conversion"
|
||||
save_scope_as = scoped_ruler
|
||||
if = { #remove the HoF blocker for all novelist faiths
|
||||
limit = {
|
||||
religion = {
|
||||
any_faith = { has_doctrine = special_doctrine_not_allowed_to_hof }
|
||||
}
|
||||
}
|
||||
religion = {
|
||||
every_faith = {
|
||||
limit = {
|
||||
has_doctrine = special_doctrine_not_allowed_to_hof
|
||||
}
|
||||
remove_doctrine = special_doctrine_not_allowed_to_hof
|
||||
}
|
||||
}
|
||||
}
|
||||
if = { # Check if Temporal first.
|
||||
limit = {
|
||||
faith = { has_doctrine = doctrine_temporal_head }
|
||||
}
|
||||
save_scope_as = new_priest
|
||||
}
|
||||
else_if = { # Pick your chaplain first.
|
||||
limit = {
|
||||
exists = cp:councillor_court_chaplain
|
||||
cp:councillor_court_chaplain = { faith = scope:scoped_ruler.faith }
|
||||
}
|
||||
cp:councillor_court_chaplain = { save_scope_as = new_priest }
|
||||
}
|
||||
else = {
|
||||
hidden_effect = {
|
||||
create_character = {
|
||||
employer = root
|
||||
template = religious_leader_character
|
||||
random_traits = no
|
||||
save_scope_as = new_priest
|
||||
dynasty = generate
|
||||
}
|
||||
}
|
||||
scope:new_priest = {
|
||||
add_trait = education_learning_3
|
||||
add_trait = zealous
|
||||
add_trait = intellect_good_1
|
||||
random_list = {
|
||||
1 = { add_trait = lustful }
|
||||
1 = { add_trait = chaste }
|
||||
1 = { add_trait = wrathful }
|
||||
1 = { add_trait = diligent }
|
||||
1 = { add_trait = impatient }
|
||||
1 = { add_trait = arrogant }
|
||||
1 = { add_trait = humble }
|
||||
1 = { add_trait = gregarious }
|
||||
}
|
||||
random_list = {
|
||||
1 = { add_trait = honest }
|
||||
1 = { add_trait = ambitious }
|
||||
1 = { add_trait = just }
|
||||
1 = { add_trait = cynical }
|
||||
1 = { add_trait = zealous }
|
||||
1 = { add_trait = compassionate }
|
||||
1 = { add_trait = stubborn }
|
||||
}
|
||||
}
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
type = created
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
root.faith.religious_head_title = {
|
||||
change_title_holder = {
|
||||
holder = scope:new_priest
|
||||
change = scope:change
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
|
||||
option = {
|
||||
name = novelist_decisions.0001.a
|
||||
add_prestige = major_prestige_gain
|
||||
add_piety = major_piety_gain
|
||||
faith = {
|
||||
change_fervor = {
|
||||
value = 10
|
||||
desc = fervor_gain_priesthood_recreated
|
||||
}
|
||||
}
|
||||
if = { # Vassalize if possible/needed.
|
||||
limit = {
|
||||
highest_held_title_tier > scope:new_priest.highest_held_title_tier
|
||||
NOT = { scope:new_priest = { any_liege_or_above = { this = root } } }
|
||||
}
|
||||
create_title_and_vassal_change = {
|
||||
type = created
|
||||
save_scope_as = change
|
||||
add_claim_on_loss = no
|
||||
}
|
||||
scope:new_priest = {
|
||||
change_liege = {
|
||||
liege = root
|
||||
change = scope:change
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:change
|
||||
}
|
||||
#create_legend_seed = {
|
||||
# type = holy
|
||||
# quality = famed
|
||||
# chronicle = priesthood_restoration
|
||||
# properties = {
|
||||
# founder = scope:new_priest
|
||||
# faith = scope:new_priest.faith
|
||||
# religion = scope:new_priest.religion
|
||||
# }
|
||||
#}
|
||||
#hidden_effect = {
|
||||
# every_player = {
|
||||
# limit = {
|
||||
# this != root
|
||||
# OR = {
|
||||
# faith.religion = root.faith.religion
|
||||
# AND = {
|
||||
# is_landed = yes
|
||||
# capital_province = {
|
||||
# OR = {
|
||||
# geographical_region = world_middle_east
|
||||
# geographical_region = world_persian_empire
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# trigger_event = middle_east_decisions.0010
|
||||
# }
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue