Merge branch 'next-version-dev' of https://forgejo.damimani-alex.org/damimani/N3OW into next-version-dev

This commit is contained in:
Heidesommer 2026-05-19 20:12:08 -04:00
commit 294570f0f6
67 changed files with 8497 additions and 8871 deletions

View file

@ -34,6 +34,37 @@ on_game_start = {
create_noble_family_effect = { GOVERNMENT_GIVER = this }
domicile ?= { set_up_domicile_estate_effect = yes }
}
every_religion_global = {
every_faith = {
limit = {
has_doctrine_parameter = holy_order_head_of_faith
}
save_scope_as = holy_order_faith
ordered_holy_site = {
limit = {
title_province.faith = {
has_doctrine_parameter = holy_order_head_of_faith
}
title_province.faith = scope:holy_order_faith
}
#position = 1
title_province.county = {
if = {
limit = {
#any_county_province = { has_holding = no }
holder.faith = scope:holy_order_faith #{ has_doctrine_parameter = holy_order_head_of_faith }
}
holder = {
trigger_event = { id = N3OW_holy_order.0001 }
}
}
}
}
}
}
#Dynamic Titles
character:benelux_oranje_nassau_weilburg_guillem = {
if = {
@ -473,7 +504,7 @@ on_game_start = {
holder.faith = scope:holy_order_faith #{ has_doctrine_parameter = holy_order_head_of_faith }
}
holder = {
trigger_event = { id = ate_holy_order.0001 }
trigger_event = { id = N3OW_holy_order.0001 }
}
}
}

View file

@ -608,6 +608,60 @@ on_character_faith_change = {
# Code on-action: once a month for each faith
# Root is the faith
on_faith_monthly = {
effect = {
if = {
limit = {
has_doctrine = doctrine_holy_order_head
}
every_faith_holy_order = {
limit = {
title = { is_head_of_faith = yes }
NOT = { exists = leader }
}
title = { save_scope_as = hof_holy_order }
scope:hof_holy_order.holder.faith = {
random_holy_site = {
limit = {
county.holder = {
realm_size > 1
faith = root
}
}
save_scope_as = leased_barony
}
}
create_character = {
template = ate_holy_order_faith_leader_character
location = scope:leased_barony.title_province
culture = scope:leased_barony.county.holder.culture
faith = root
gender_female_chance = {
if = {
limit = {
root = { has_doctrine_parameter = clergy_must_be_male }
}
add = 0
}
else_if = {
limit = {
root = { has_doctrine_parameter = clergy_must_be_female }
}
add = 100
}
else = {
add = 50
}
}
save_scope_as = leader
}
scope:leader = {
get_title = scope:hof_holy_order
get_title = scope:leased_barony
}
}
}
}
on_actions = {
faith_holy_order_land_acquisition_pulse
delay = { days = { 5 10 }}

View file

@ -2249,7 +2249,10 @@ yearly_playable_pulse = {
highest_held_title_tier >= tier_empire
has_trait = excommunicated
faith = {
has_doctrine = doctrine_spiritual_head
OR = {
has_doctrine = doctrine_spiritual_head
has_doctrine = doctrine_holy_order_head
}
has_doctrine = doctrine_imperial_anointment
}
custom_tooltip = {
@ -2282,7 +2285,10 @@ yearly_playable_pulse = {
interaction = coronation_anointment_request
}
faith = {
has_doctrine = doctrine_spiritual_head
OR = {
has_doctrine = doctrine_spiritual_head
has_doctrine = doctrine_holy_order_head
}
has_doctrine = doctrine_imperial_anointment
}
}