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

This commit is contained in:
edwardtheelbowhigh 2026-11-26 00:31:52 +00:00
commit 36724e4f12
71 changed files with 55798 additions and 4370 deletions

View file

@ -158,7 +158,13 @@ conquest = {
herders_and_tributary_constraints = yes
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
NOT = { government_has_flag = government_is_theocracy }
OR = {
NOT = { government_has_flag = government_is_theocracy }
AND = {
government_has_flag = government_is_ecclesiastical
rite = { rite_has_parameter = neow_theocrats_can_use_secular_cbs }
}
}
}
allowed_for_character_display_regardless = {
pam_personal_pacifism_offensive_war_ban_trigger = yes
@ -211,13 +217,11 @@ subjugation = {
tgp_dynastic_cycle_offensive_wars_ban_trigger = yes
tgp_war_ban_all_ministers_trigger = yes
OR = {
OR = {
NOT = { government_has_flag = government_is_theocracy }
AND = {
government_has_flag = government_is_ecclesiastical
rite = { rite_has_parameter = neow_theocrats_can_use_secular_cbs }
}
}
AND = {
government_has_flag = government_is_theocracy
has_variable = koh_subjugation_cb_allowed
@ -262,7 +266,6 @@ humiliation = {
allowed_for_character = {
gdp_merchant_cb_group_constraints_trigger = yes
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
OR = {
NOT = { government_has_flag = government_is_theocracy }
AND = {
@ -280,7 +283,6 @@ mandala = {
allowed_for_character = {
gdp_merchant_cb_group_constraints_trigger = yes
herders_and_tributary_constraints = yes
pam_personal_pacifism_offensive_war_ban_trigger = yes
OR = {
NOT = { government_has_flag = government_is_theocracy }
AND = {
@ -307,6 +309,9 @@ celestial = {
}
}
}
allowed_for_character_display_regardless = {
pam_personal_pacifism_offensive_war_ban_trigger = yes
}
}
@ -320,4 +325,4 @@ merchant_seize_realm = {
allowed_for_character_display_regardless = {
pam_personal_pacifism_offensive_war_ban_trigger = yes
}
}
}

View file

@ -274,10 +274,8 @@
scope:claimant = {
NOR = {
this = scope:attacker
NOR = {
is_vassal_or_below_of = scope:attacker
is_courtier_of = scope:attacker
}
is_vassal_or_below_of = scope:attacker
is_courtier_of = scope:attacker
#tgp_is_any_minister = yes
}
}
@ -319,7 +317,7 @@
on_victory_aggressive_war_effect = yes
pam_notify_claim_war_instigator_effect_win = yes
gg_claim_unites_pope_and_emperor_tooltip_effect = yes
#gg_claim_unites_pope_and_emperor_tooltip_effect = yes
#Grab the higher title tier
ordered_in_list = {
@ -426,7 +424,7 @@
accolade_attacker_war_end_glory_gain_med_effect = yes
}
resolve_title_and_vassal_change = scope:change
on_victory_claim_cb_effect = yes
# Landless Ceremonial Liege
#if = {
@ -504,23 +502,23 @@
# resolve_title_and_vassal_change = scope:change_two
#}
if = {
limit = {
scope:claimant != scope:attacker
scope:attacker = {
can_add_hook = {
type = favor_hook
target = scope:claimant
}
}
}
scope:attacker = {
add_hook = {
target = scope:claimant
type = favor_hook
}
}
}
#if = {
#limit = {
#scope:claimant != scope:attacker
#scope:attacker = {
#can_add_hook = {
#type = favor_hook
#target = scope:claimant
#}
#}
#}
#scope:attacker = {
#add_hook = {
#target = scope:claimant
#type = favor_hook
#}
#}
#}
# Attacker gets Prestige Experience, Defender loses Prestige, all other participants gain Prestige based on their war contribution.
modify_all_participants_fame_values = {

View file

@ -378,23 +378,23 @@
}
}
scope:attacker = {
if = {
limit = {
monthly_character_income > 0
}
pay_short_term_income = {
years = 2
target = scope:defender
}
}
else = {
pay_short_term_gold = {
target = scope:defender
gold = medium_gold_value
}
}
}
#scope:attacker = {
#if = {
#limit = {
#monthly_character_income > 0
#}
#pay_short_term_income = {
#years = 2
#target = scope:defender
#}
#}
#else = {
#pay_short_term_gold = {
#target = scope:defender
#gold = medium_gold_value
#}
#}
#}
}
# Truce
@ -841,6 +841,7 @@ religious_war = {
}
}
}
scope:attacker = {
pay_short_term_gold_reparations_effect = {
GOLD_VALUE = 3
@ -1035,7 +1036,7 @@ major_religious_war = {
}
allowed_against_character = {
religious_war_faith_hostility_trigger = yes
#religious_war_faith_hostility_trigger = yes
scope:attacker = {
ALL_FALSE = {
top_liege = scope:defender.top_liege
@ -1325,36 +1326,42 @@ major_religious_war = {
# piety change
scope:defender = { add_piety_for_war_effect = { TYPE = piety } }
scope:defender = {
add_piety = {
add = religious_cb_piety_gain_kingdom
if = {
limit = {
scope:defender.faith ?= {
has_doctrine_parameter = bonus_holy_war_piety_active
}
}
multiply = 1.5
}
}
}
#scope:defender = {
#add_piety = {
#add = religious_cb_piety_gain_kingdom
#if = {
#limit = {
#scope:defender.faith ?= {
#has_doctrine_parameter = bonus_holy_war_piety_active
#}
#}
#multiply = 1.5
#}
#}
#}
scope:attacker = {
if = {
limit = {
monthly_character_income > 0
}
pay_short_term_income = {
years = 4
target = scope:defender
}
}
else = {
pay_short_term_gold = {
target = scope:defender
gold = medium_gold_value
}
}
#scope:attacker = {
#if = {
#limit = {
#monthly_character_income > 0
#}
#pay_short_term_income = {
#years = 4
#target = scope:defender
#}
#}
#else = {
#pay_short_term_gold = {
#target = scope:defender
#gold = medium_gold_value
#}
#}
#}
#}
scope:attacker = {
pay_short_term_gold_reparations_effect = {
GOLD_VALUE = 4
}
}
@ -3094,7 +3101,7 @@ undirected_great_holy_war = {
change_government = nomad_government
domicile = {
set_domicile_culture = prev.capital_county.culture
set_domicile_faith = prev.capital_county.faith
set_domicile_rite = prev.capital_county.rite
}
}
}
@ -3252,7 +3259,7 @@ undirected_great_holy_war = {
change_government = nomad_government
domicile = {
set_domicile_culture = prev.capital_county.culture
set_domicile_faith = prev.capital_county.faith
set_domicile_rite = prev.capital_county.rite
}
}
}
@ -3426,7 +3433,7 @@ undirected_great_holy_war = {
change_government = nomad_government
domicile = {
set_domicile_culture = prev.capital_county.culture
set_domicile_faith = prev.capital_county.faith
set_domicile_rite = prev.capital_county.rite
}
}
}
@ -3894,7 +3901,7 @@ directed_great_holy_war = {
change_government = nomad_government
domicile = {
set_domicile_culture = prev.capital_county.culture
set_domicile_faith = prev.capital_county.faith
set_domicile_rite = prev.capital_county.rite
}
}
}

View file

@ -28,7 +28,6 @@ grant_titles_interaction = {
target_filter = domain_titles
interface_priority = 60
ai_frequency = 2
# actor character giving the titles
# recipient character receiving the titles
@ -2437,7 +2436,7 @@ grant_governorship_interaction = {
target_filter = domain_titles
interface_priority = 60
ai_frequency = 6
ai_frequency = 0
# actor character giving the titles
# recipient character receiving the titles
@ -2454,153 +2453,7 @@ grant_governorship_interaction = {
}
can_be_picked_title = {
scope:target = {
is_leased_out = no
scope:recipient = {
trigger_if = { # Governors can only be appointed to certain titles
limit = {
is_governor = yes
scope:target = { is_noble_family_title = no } # For tooltip reasons, so we don't show more than necessary
}
custom_tooltip = { # Only one province of highest rank
text = only_one_province_of_highest_rank_tt
NAND = {
highest_held_title_tier = scope:target.tier
scope:target.tier >= main_administrative_tier
trigger_if = {
limit = {
scope:target.tier >= tier_duchy
}
scope:target = { # We make an exception if recipient controls at least one de jure county
any_de_jure_county = {
count < 1
OR = {
holder = scope:recipient
holder = { is_vassal_or_below_of = scope:recipient }
}
}
}
}
}
}
custom_tooltip = {
text = admin_must_be_de_jure_or_neighboring
any_held_title = {
OR = {
# The target title is part of your de jure structure
is_de_jure_liege_or_above_target = scope:target
target_is_de_jure_liege_or_above = scope:target
# Or is a neighboring county which de jure duchy is not part of your realm
AND = {
tier >= tier_county
any_title_to_title_neighboring_county = { this = scope:target }
scope:target = {
tier = tier_county
duchy = {
OR = {
NOT = { exists = holder }
holder = {
NOR = {
is_vassal_or_below_of = scope:puppet_or_actor
this = scope:puppet_or_actor
}
}
}
}
}
}
}
}
}
}
trigger_if = { # If recipient is landless and only have a family title, target title must be a duchy or above
limit = {
is_landless_ruler = yes
any_held_title = { is_noble_family_title = yes }
scope:target.tier < min_appointment_tier
}
primary_title.tier <= scope:target.tier
}
trigger_if = { # If recipient is a count, they can get only get counties within the same duchy
limit = {
highest_held_title_tier = tier_county
main_administrative_tier > tier_county
is_landed = yes
scope:target.tier = tier_county
}
custom_tooltip = {
text = admin_count_grant_only_counties
any_held_title = { duchy = scope:target.duchy }
}
}
tgp_is_ceremonial_liege_trigger = no
}
custom_tooltip = {
text = GRANT_TITLES_ITEM_CANT_GIVE_ADMIN_PRIMARY
this != scope:puppet_or_actor.capital_province.duchy
}
trigger_if = {
limit = { is_noble_family_title = yes }
custom_tooltip = {
text = GRANT_TITLES_ITEM_CANT_GIVE_NOBLE_FAMILY
always = no
}
}
trigger_if = {
limit = { exists = var:ceremonial_title }
custom_tooltip = {
text = GRANT_TITLES_ITEM_CANT_GIVE_CEREMONIAL_TITLE
always = no
}
}
trigger_if = {
limit = {
list_size:target_titles > 0
}
custom_tooltip = {
text = GRANT_TITLES_ITEM_ADMIN_CANT_GIVE_MORE_THAN_ONE
any_in_list = {
list = target_titles
scope:target ?= this
}
}
}
trigger_if = {
limit = { scope:target = title:k_fashion }
NOT = { scope:target = title:k_fashion }
}
}
custom_description = {
text = grant_titles_interaction_can_only_give_diarch_de_jure_liege_to_diarch
subject = scope:puppet_or_actor.diarch
object = scope:puppet_or_actor
NAND = {
# Only applies if we have an active diarchy.
scope:puppet_or_actor = { has_active_diarchy = yes }
# Now, prevent us from giving away our diarch's land to invalidate them...
scope:target = {
any_dejure_vassal_title_holder = { this = scope:puppet_or_actor.diarch }
# ... _unless_ we're giving it _to_ the diarch.
scope:recipient != scope:puppet_or_actor.diarch
# Plus we only care if the title is below our tier.
tier < scope:puppet_or_actor.highest_held_title_tier
}
}
}
custom_description = {
text = grant_titles_interaction_title_being_wagered
subject = scope:puppet_or_actor
NOT = {
scope:target = { has_variable = wagered_county }
}
}
always = no
}
auto_accept = yes

View file

@ -980,7 +980,7 @@ NEOW_establish_western_orthodox_rite_decision = {
is_shown = {
is_ruler = yes
faith = faith:orthodox
neow_can_establish_western_orthodox_rite_trigger = yes
NOT = { has_global_variable = neow_western_orthodox_rite_established }
}
@ -1005,7 +1005,7 @@ NEOW_establish_western_orthodox_rite_decision = {
ai_potential = {
is_ruler = yes
faith = faith:orthodox
neow_can_establish_western_orthodox_rite_trigger = yes
NOT = { has_global_variable = neow_western_orthodox_rite_established }
}
ai_will_do = { base = 100 }
@ -1200,3 +1200,84 @@ NEOW_restore_maronite_antioch_decision = {
ai_potential = { always = yes }
ai_will_do = { base = 100 modifier = { factor = 0 has_trait = cynical } }
}
NEOW_mend_the_great_schism_decision = {
picture = { reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds" }
desc = NEOW_mend_the_great_schism_decision_desc
selection_tooltip = NEOW_mend_the_great_schism_decision_tooltip
decision_group_type = major
sort_order = 4
ai_check_interval_by_tier = {
barony = 0
county = 0
duchy = 0
kingdom = 0
empire = 120
hegemony = 120
}
is_shown = {
is_ruler = yes
is_playable_character = yes
OR = { faith = faith:orthodox faith = faith:russian_orthodox }
highest_held_title_tier >= tier_empire
NOT = {
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_mended_great_schism
}
}
}
is_valid = {
custom_description = {
text = NEOW_mend_great_schism_imperial_title_tt
OR = {
has_title = title:h_NEOW_rome
has_title = title:e_nistrenia
has_title = title:e_NEOW_byzantium
has_title = title:h_athos
}
}
piety_level >= max_piety_level
completely_controls = title:c_byzantion
completely_controls = title:c_roma
completely_controls = title:c_alexandretta
completely_controls = title:c_jerusalem
completely_controls = title:c_alexandria
completely_controls = title:c_coruna
custom_description = {
text = NEOW_mend_great_schism_orthodox_reunion_tt
neow_reunited_orthodox_faith_trigger = yes
}
custom_description = {
text = NEOW_mend_great_schism_western_rite_tt
has_global_variable = neow_western_orthodox_rite_established
exists = rite:western_orthodox_rite
}
}
is_valid_showing_failures_only = {
is_landed = yes
is_capable_adult = yes
is_imprisoned = no
is_at_war = no
top_liege = this
}
effect = {
custom_tooltip = NEOW_mend_the_great_schism_decision_effect_tooltip
give_nickname = nick_NEOW_the_new_constantine
hidden_effect = {
add_to_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_mended_great_schism
}
trigger_event = NEOW_religious_decision.0290
}
}
ai_potential = { neow_reunited_orthodox_faith_trigger = yes }
ai_will_do = { base = 100 }
}

View file

@ -308,6 +308,184 @@ republic_government = {
government_uses_military_budget
government_locked_to_elective#coa flag
}
grant_vassal_ai_will_do = {
value = 0
if = {
limit = {
pam_nomad_grant_settled_government_trigger = yes
faith = {
NOR = {
religion = religion:islam_religion
has_doctrine_parameter = unreformed
}
}
}
add = 10
}
if = {
limit = {
government_has_flag = government_is_administrative
is_independent_ruler = no
}
add = -500
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = greedy
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = shy
}
add = -5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = arrogant
}
add = -5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = paranoid
}
add = -5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = trusting
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = just
}
add = -5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = gregarious
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = lazy
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = diligent
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = craven
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
OR = {
has_trait = lunatic_1
has_trait = lunatic_genetic
}
}
add = 20
}
if = {
limit = {
government_has_flag = government_is_administrative
OR = {
has_trait = possessed_1
has_trait = possessed_genetic
}
}
add = 20
}
if = {
limit = {
government_has_flag = government_is_administrative
OR = {
has_trait = depressed_1
has_trait = depressed_genetic
}
}
add = 20
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = ambitious
}
add = -15
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = content
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = zealous
}
add = -15
}
if = {
limit = {
government_has_flag = government_is_administrative
gold > 1000
}
add = -40
}
if = {
limit = {
government_has_flag = government_is_administrative
influence_level > 2
}
add = -15
}
if = {
limit = {
government_has_flag = government_is_administrative
gold < 100
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
influence_level < 2
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
influence_level < 1
}
add = 5
}
}
mechanic_type = republic
is_mechanic_type_default = yes
@ -1032,8 +1210,174 @@ administrative_government = {
mechanic_type = administrative
is_mechanic_type_default = yes
possible_grant_vassal_governments = { theocracy_government ecclesiastical_government feudal_government clan_government }
possible_grant_vassal_governments = { administrative_government theocracy_government ecclesiastical_government feudal_government clan_government republic_government }
grant_vassal_ai_will_do = {
value = 0
if = {
limit = {
government_has_flag = government_is_administrative
is_independent_ruler = no
}
add = -500
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = greedy
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = shy
}
add = -5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = arrogant
}
add = -5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = paranoid
}
add = -5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = trusting
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = just
}
add = -5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = gregarious
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = lazy
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = diligent
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = craven
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
OR = {
has_trait = lunatic_1
has_trait = lunatic_genetic
}
}
add = 20
}
if = {
limit = {
government_has_flag = government_is_administrative
OR = {
has_trait = possessed_1
has_trait = possessed_genetic
}
}
add = 20
}
if = {
limit = {
government_has_flag = government_is_administrative
OR = {
has_trait = depressed_1
has_trait = depressed_genetic
}
}
add = 20
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = ambitious
}
add = -15
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = content
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
has_trait = zealous
}
add = -15
}
if = {
limit = {
government_has_flag = government_is_administrative
gold > 1000
}
add = -40
}
if = {
limit = {
government_has_flag = government_is_administrative
influence_level > 2
}
add = -15
}
if = {
limit = {
government_has_flag = government_is_administrative
gold < 100
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
influence_level < 2
}
add = 5
}
if = {
limit = {
government_has_flag = government_is_administrative
influence_level < 1
}
add = 5
}
}
color = { 72 6 92 }
realm_mask_offset = { 0.0 0.01 }
realm_mask_scale = { 1 1 }

View file

@ -63,6 +63,7 @@ nick_NEOW_priestly_fool = { is_bad = yes }
# Awarded uniquely for mending the Orthodox Schism.
# Stable identifier retained for already-awarded nicknames in existing saves.
nick_NEOW_the_healer_of_the_schism = {}
nick_NEOW_the_new_constantine = {}
nick_the_lion_of_the_north = {}
nick_o_desejado = {}
nick_the_ossi = {}

View file

@ -409,6 +409,7 @@ neow_interfaith_tolerance = {
has_doctrine = special_doctrine_pure_space
has_doctrine = special_doctrine_the_blacks
has_doctrine = special_doctrine_religion_fallback
has_doctrine = special_doctrine_NEOW_one_true_church
}
}
}

View file

@ -1606,3 +1606,64 @@ special_doctrine_religion_fallback = {
same_faith_opinion = 5
}
}
special_doctrine_NEOW_one_true_church = {
doctrine_group_type = neow_interfaith_tolerance
index = 39
icon = "special_doctrine_mainline_orthodox"
is_shown = { religion_tag = eastern_orthodox_religion }
can_pick = { always = no }
piety_cost = { value = faith_doctrine_cost_low }
parameters = { loc_parameter_one_true_church }
special_parameters = {
hostility_levels = {
same_religion = evil
same_family = evil
unrelated = evil
}
hostility_level_override = {
special_doctrine_NEOW_one_true_church = righteous
special_doctrine_NEOW_roman_communion = evil
special_doctrine_NEOW_compostelan_communion = evil
special_doctrine_independent_catholic = evil
special_doctrine_mainline_orthodox = evil
special_doctrine_miaphysite = evil
special_doctrine_olympian = evil
special_doctrine_fantastical_kinship = evil
special_doctrine_academic_kinship = evil
special_doctrine_christian_kinship = evil
special_doctrine_islamic_kinship = evil
special_doctrine_populares = evil
special_doctrine_optimates = evil
special_doctrine_established_church = evil
special_doctrine_reformation_roots = evil
special_doctrine_hermetic = evil
special_doctrine_apollonian = evil
special_doctrine_dionysian = evil
special_doctrine_common_task = evil
special_doctrine_the_reds = evil
special_doctrine_the_whites = evil
special_doctrine_fae_and_folklore = evil
special_doctrine_might_and_magick = evil
special_doctrine_goddesses_and_glory = evil
special_doctrine_crowleyan_magic = evil
special_doctrine_loyal_servants_of_the_queen = evil
special_doctrine_servants_of_the_regency = evil
special_doctrine_cult_of_saints = evil
special_doctrine_old_lore = evil
special_doctrine_via_media = evil
special_doctrine_incorruptible_dogma = evil
special_doctrine_restored_church = evil
special_doctrine_true_orthodox = evil
special_doctrine_singular_interpretation = evil
special_doctrine_regicidal = evil
special_doctrine_truest_servants_of_the_queen = evil
special_doctrine_heathen_revanchism = evil
special_doctrine_pure_space = evil
special_doctrine_the_blacks = evil
special_doctrine_religion_fallback = evil
special_doctrine_ecumenical_christian = evil
special_doctrine_ecumenical_miaphysite = evil
}
}
}

View file

@ -0,0 +1,92 @@
## Shared road modifiers per tier
#
# Applies to every road, based on the tier it is currently at.
# An entry with no 'type' applies to all roads that no other entry claims.
# (road_modifiers_default used by code - do not remove)
#
# Each tier takes up to four blocks, all optional:
#
# tier_3 = {
# modifier = { road_construction_speed = 0.1 } # the road itself
# province_modifier = { monthly_civic_tax = 0.05 } # provinces the road covers
# trade_route_modifier = { trade_capacity_add = 3 } # routes that follow the road
# travel_modifier = { travel_speed = 30 } # anyone travelling along it
# }
#
# The first three blocks at entry level apply at every tier. travel_modifier is per tier only.
#
road_modifiers_default = {
tier_1 = {
province_modifier = {
monthly_commerce_tax = 0.1
travel_danger = -2
prosperity_growth = 0.02
}
trade_route_modifier = {
trade_route_length_mult = 0.05
}
travel_modifier = { travel_speed_mult = 0.05 }
character_modifier = { movement_speed = 0.1 }
}
tier_2 = {
province_modifier = {
monthly_commerce_tax = 0.2
travel_danger = -4
prosperity_growth = 0.04
}
trade_route_modifier = {
trade_route_length_mult = 0.1
}
travel_modifier = { travel_speed_mult = 0.1 }
character_modifier = { movement_speed = 0.1 }
}
tier_3 = {
province_modifier = {
monthly_commerce_tax = 0.3
travel_danger = -6
province_size_baseline_add = 10
prosperity_growth = 0.06
}
trade_route_modifier = {
trade_route_length_mult = 0.15
}
travel_modifier = { travel_speed_mult = 0.15 }
character_modifier = { movement_speed = 0.15 }
}
tier_4 = {
province_modifier = {
monthly_commerce_tax = 0.4
travel_danger = -8
province_size_baseline_add = 15
prosperity_growth = 0.08
}
trade_route_modifier = {
trade_route_length_mult = 0.2
}
travel_modifier = { travel_speed_mult = 0.2 }
character_modifier = { movement_speed = 0.2 }
}
tier_5 = {
province_modifier = {
monthly_commerce_tax = 0.5
travel_danger = -10
province_size_baseline_add = 20
prosperity_growth = 0.1
}
trade_route_modifier = {
trade_route_length_mult = 0.25
}
travel_modifier = { travel_speed_mult = 0.25 }
character_modifier = { movement_speed = 0.25 }
}
}
# Sets for specific roads name them in 'type'. Unlisted tiers grant nothing.
#specific_road_modifiers = {
# type = { road_key_01 road_key_02 }
# tier_5 = { trade_route_modifier = { trade_capacity_add = 8 } }
#}

View file

@ -0,0 +1,31 @@
# Shared road modifiers, applied to every road based on its current tier.
# Sea roads (road types with spline_asset_id = 1) grant none of them.
#
# 'road_modifiers_default' is required by code and must not be removed.
#
# <key> = {
# tier_0 = { ... } # Modifiers granted while the road is at tier 0
# ...
# tier_5 = { ... }
# }
#
# Tier 0 is a road that has not been built yet. It is hidden on the map, but the road exists and
# every road starts there, so anything set on tier_0 applies to every road from game start.
# Tiers may be listed in any order and skipped; a tier that is not listed grants nothing.
# Road tiers are always 0 to 5.
#
# Each tier block accepts up to four modifier blocks, one per target:
#
# modifier = { ... } # Road target. Read at the point of use, e.g. the road's
# # own construction speed.
# province_modifier = { ... } # Province target. Applied to every province the road covers.
# trade_route_modifier = { ... } # TradeRoute target. Applied once per road province a
# # trade route follows, so it stacks along the route.
# travel_modifier = { ... } # TravelPlan target, per tier only. Applies while a character
# # moves through a province the road covers, highest tier road
# # only. Each tier's value stands alone; tiers do not
# # accumulate. Takes the same keys as a travel option, e.g.
# # travel_speed.
# character_modifier = { ... } # Character target, per tier only. The army equivalent of
# # travel_modifier. Read as the army moves, so only
# # movement_speed has an effect.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,39 @@

# Roads are drawn with the splines in gfx/map/spline_network/spline_network.splnet.
# Each pair of neighbouring provinces in a road needs a spline in that file. A pair without one is not drawn,
# and error.log reports "Could not find spline network strip" when the game tries to draw it.
#
# Changing a file in this folder while the game runs reloads the roads, generates the missing splines
# and saves the whole spline network to Documents/Paradox Interactive/Crusader Kings III/gfx/map/spline_network/spline_network.splnet (on Windows).
# The console command SplineNetwork.AppendAssets does the same.
# That copy overrides the game's spline network until you delete it, including after game updates,
# and error.log reports it at startup while it exists.
# To ship the splines with a mod, move the file into the mod at gfx/map/spline_network/spline_network.splnet
# (tweak it in the map editor first if needed), and do not leave a copy in the Documents folder.
road_type = {
### brief: tier ( number )
# road tier should be value 0-5
# only roads with greater than 0 tier will be shown on game start
# default is 0
tier = 1
### brief: spline asset id
# Provide the spline asset id of the road.
# currently supporting 0,1 values, which are used for dirtroad and naval roads respectively.
# those are aligned with ids for spline_types in spline_network.
# 1 also marks the road as a sea road, which grants no road modifiers (see common/roads/road_modifiers).
# default is 0, which is used for dirtroads.
spline_asset_id = 0
### brief: province id list
# Provide the province id list of the road.
# First province in the list is the start point and last province is the last point accordingly.
#
provinces = {
provinceID_0
provinceID_1
...
}
}

View file

@ -583,6 +583,10 @@ create_head_of_faith_title_effect = {
mend_orthodox_schism_scripted_effect = {
hidden_effect = {
save_scope_as = schism_mender
if = {
limit = { faith = faith:russian_orthodox }
set_global_variable = { name = neow_russian_orthodox_reunion_won value = yes }
}
faith = {
save_scope_as = reunited_orthodox_faith
@ -644,16 +648,9 @@ mend_orthodox_schism_scripted_effect = {
}
scope:schismatic_orthodox_faith = {
# A negotiated reunion recognises both existing patriarchal sees.
# Only the territorial settlement abolishes the opposing HoF.
if = {
limit = { NOT = { exists = scope:neow_peaceful_schism_mender } }
remove_religious_head_title = yes
}
if = {
limit = { has_doctrine = special_doctrine_not_allowed_to_hof }
remove_doctrine = special_doctrine_not_allowed_to_hof
}
# Both settlements end the rival head-of-faith office.
# A peaceful reunion preserves the patriarchal titles themselves.
remove_religious_head_title = yes
if = {
limit = { NOT = { has_doctrine = special_doctrine_pope_blessing } }
add_doctrine = special_doctrine_pope_blessing
@ -672,6 +669,10 @@ mend_orthodox_schism_scripted_effect = {
include_derived = no
}
}
if = {
limit = { NOT = { has_doctrine = special_doctrine_not_allowed_to_hof } }
add_doctrine = special_doctrine_not_allowed_to_hof
}
}
# The peaceful settlement does not depose either patriarch or the
@ -1073,6 +1074,7 @@ neow_merge_western_clerical_regions_under_rome_effect = {
neow_establish_western_orthodox_rite_effect = {
# Preserve the decision-maker's rite before the rite-creation effect runs.
# Saved as a character variable so the later option event can still read it.
faith = { save_scope_as = neow_western_orthodox_faith }
rite = { save_scope_as = neow_rome_founder_original_rite }
set_variable = {
name = neow_rome_founder_original_rite
@ -1085,8 +1087,22 @@ neow_establish_western_orthodox_rite_effect = {
convert = no
}
# Even if rite creation has an implicit founder-conversion side effect,
# keep the original rite until the founder actually selects the option.
scope:neow_western_orthodox_rite = {
if = {
limit = { faith != scope:neow_western_orthodox_faith }
set_parent_faith = {
target = scope:neow_western_orthodox_faith
main = no
include_derived = no
}
}
}
# Keep the founder in the original faith and rite until the later choice.
if = {
limit = { faith != scope:neow_western_orthodox_faith }
set_character_faith = scope:neow_western_orthodox_faith
}
if = {
limit = { rite != scope:neow_rome_founder_original_rite }
set_character_rite = scope:neow_rome_founder_original_rite
@ -1100,7 +1116,7 @@ neow_establish_western_orthodox_rite_effect = {
save_scope_as = neow_western_lazio_bishop
}
scope:neow_western_lazio_bishop = {
set_character_faith = faith:orthodox
set_character_faith = scope:neow_western_orthodox_faith
set_character_rite = scope:neow_western_orthodox_rite
add_trait = education_learning_3
add_trait = zealous
@ -1217,7 +1233,7 @@ neow_establish_western_orthodox_rite_effect = {
holder = { any_held_title = { is_head_of_faith = yes } }
}
}
set_county_faith = faith:orthodox
set_county_faith = scope:neow_western_orthodox_faith
set_county_rite = scope:neow_western_orthodox_rite
}
}
@ -1226,6 +1242,9 @@ neow_establish_western_orthodox_rite_effect = {
# Called on an AI vassal or on a player vassal who accepts the offer.
# Keep the identifier for compatibility with the already-authored vassal event.
neow_western_orthodox_convert_catholic_ruler_effect = {
rite:western_orthodox_rite = {
faith = { save_scope_as = neow_western_conversion_faith }
}
# All Western-heritage rulers bring their personal counties into their new
# rite. Other Catholic rulers only bring their Catholic counties, as before.
every_held_title = {
@ -1236,11 +1255,11 @@ neow_western_orthodox_convert_catholic_ruler_effect = {
holder = { neow_western_orthodox_vassal_heritage_trigger = yes }
}
}
set_county_faith = faith:orthodox
set_county_faith = scope:neow_western_conversion_faith
set_county_rite = rite:western_orthodox_rite
}
set_character_faith = faith:orthodox
set_character_faith = scope:neow_western_conversion_faith
set_character_rite = rite:western_orthodox_rite
}
@ -1716,3 +1735,73 @@ neow_laamp_city_builder_holding_reward_effect = {
}
}
neow_great_schism_complete_effect = {
faith = {
save_scope_as = neow_great_schism_faith
set_faith_name = {
name = neow_orthodox_catholic_church
desc = neow_orthodox_catholic_church_reunited_desc
adjective = neow_orthodox_catholic_church_adj
adherent = neow_orthodox_catholic_church_adherent
adherent_plural = neow_orthodox_catholic_church_adherent_plural
}
}
rite:western_orthodox_rite = {
if = {
limit = { faith != scope:neow_great_schism_faith }
set_parent_faith = {
target = scope:neow_great_schism_faith
main = no
include_derived = no
}
}
}
faith = {
change_doctrine = special_doctrine_NEOW_one_true_church
main_rite ?= {
if = {
limit = { NOT = { rite_has_doctrine = special_doctrine_NEOW_one_true_church } }
change_rite_doctrine = special_doctrine_NEOW_one_true_church
}
}
every_faith_rite = {
if = {
limit = { NOT = { rite_has_doctrine = special_doctrine_NEOW_one_true_church } }
change_rite_doctrine = special_doctrine_NEOW_one_true_church
}
}
change_fervor = { value = 25 desc = NEOW_great_schism_fervor_gain }
}
rite:western_orthodox_rite = { set_can_convert_to_rite = yes }
faith:roman_catholic_faith = {
if = {
limit = { NOT = { has_doctrine = special_doctrine_not_allowed_to_hof } }
add_doctrine = special_doctrine_not_allowed_to_hof
}
}
faith:compostelan_catholic_faith = {
if = {
limit = { NOT = { has_doctrine = special_doctrine_not_allowed_to_hof } }
add_doctrine = special_doctrine_not_allowed_to_hof
}
}
add_piety = 1500
add_prestige = 1000
add_legitimacy = 100
}
neow_great_schism_convert_catholic_ruler_effect = {
rite:western_orthodox_rite = {
save_scope_as = neow_united_papacy_rite
faith = { save_scope_as = neow_united_papacy_faith }
}
neow_restored_papacy_convert_catholic_ruler_effect = yes
neow_restored_papacy_convert_held_catholic_counties_effect = yes
}
neow_great_schism_invite_catholics_effect = {
every_ruler = {
limit = { faith = { religion = religion:catholic_religion } }
trigger_event = NEOW_religious_decision.0292
}
}

View file

@ -59,6 +59,7 @@ is_grant_government_shown = {
OR = {
this = government_type:feudal_government
this = government_type:tribal_government
this = government_type:republic_government
}
}
}
@ -70,9 +71,7 @@ is_grant_government_shown = {
OR = {
government_has_flag = government_is_administrative
government_has_flag = government_is_theocracy
}
NOT = {
faith.religion = religion:islam_religion
government_has_flag = government_is_republic
}
}
}
@ -91,6 +90,7 @@ is_grant_government_shown = {
OR = {
government_has_flag = government_is_administrative
government_has_flag = government_is_theocracy
government_has_flag = government_is_republic
}
faith.religion = religion:islam_religion
}

View file

@ -502,58 +502,58 @@ allows_declaring_war_against_target_trigger = {
}
}
#You're under Peace Privilege; no wars allowed against the opposite side
custom_tooltip = {
text = not_attack_gg_during_repose_tt
trigger_if = {
limit = {
situation:guelph_ghibelline ?= { situation_current_phase = repose }
OR = {
is_guelph_trigger = yes
is_ghibelline_trigger = yes
}
}
NOR = {
AND = {
is_guelph_trigger = yes
scope:recipient = { is_ghibelline_trigger = yes }
}
AND = {
is_ghibelline_trigger = yes
scope:recipient = { is_guelph_trigger = yes }
}
}
}
}
#custom_tooltip = {
#text = not_attack_gg_during_repose_tt
#trigger_if = {
#limit = {
#situation:guelph_ghibelline ?= { situation_current_phase = repose }
#OR = {
#is_guelph_trigger = yes
#is_ghibelline_trigger = yes
#}
#}
#NOR = {
#AND = {
#is_guelph_trigger = yes
#scope:recipient = { is_ghibelline_trigger = yes }
#}
#AND = {
#is_ghibelline_trigger = yes
#scope:recipient = { is_guelph_trigger = yes }
#}
#}
#}
#}
#The Guelphs won the GG Situation; no HRE wars against theocratic vassals
custom_tooltip = {
text = guelph_victory_hre_no_theocracy_cb_tt
trigger_if = {
limit = { exists = var:gg_ended_in_guelph_victory_no_hre_wars_on_theocratic_vassals }
NOT = {
this = title:e_hre.holder
scope:defender_check = {
is_vassal_of = title:e_hre.holder
government_has_flag = government_is_ecclesiastical
}
}
}
}
#custom_tooltip = {
#text = guelph_victory_hre_no_theocracy_cb_tt
#trigger_if = {
#limit = { exists = var:gg_ended_in_guelph_victory_no_hre_wars_on_theocratic_vassals }
#NOT = {
#this = title:e_hre.holder
#scope:defender_check = {
#is_vassal_of = title:e_hre.holder
#government_has_flag = government_is_ecclesiastical
#}
#}
#}
#}
#... nor against rulers in Northern Italy
custom_tooltip = {
text = guelph_victory_hre_no_cb_tt
trigger_if = {
limit = { exists = var:gg_hre_no_cb_northern_italy }
NOT = {
this = title:e_hre.holder
scope:defender_check = {
primary_title = {
title_province = { geographical_region = gdp_guelph_ghibelline_northern_italy_region }
}
}
}
}
}
#custom_tooltip = {
#text = guelph_victory_hre_no_cb_tt
#trigger_if = {
#limit = { exists = var:gg_hre_no_cb_northern_italy }
#NOT = {
#this = title:e_hre.holder
#scope:defender_check = {
#primary_title = {
#title_province = { geographical_region = gdp_guelph_ghibelline_northern_italy_region }
#}
#}
#}
#}
#}
}
war_declarer_needs_hook_on_liege = {

View file

@ -76,3 +76,41 @@ neow_western_orthodox_vassal_heritage_trigger = {
}
}
}
neow_orthodox_schism_already_mended_trigger = {
is_target_in_global_variable_list = {
name = unavailable_unique_decisions
target = flag:flag_mended_orthodox_schism
}
}
neow_russian_orthodox_reunion_won_trigger = {
OR = {
has_global_variable = neow_russian_orthodox_reunion_won
rite:georgian_rite = { faith = faith:russian_orthodox }
}
}
neow_reunited_orthodox_faith_trigger = {
neow_orthodox_schism_already_mended_trigger = yes
OR = {
AND = {
faith = faith:orthodox
neow_russian_orthodox_reunion_won_trigger = no
}
AND = {
faith = faith:russian_orthodox
neow_russian_orthodox_reunion_won_trigger = yes
}
}
}
neow_can_establish_western_orthodox_rite_trigger = {
OR = {
AND = {
faith = faith:orthodox
neow_orthodox_schism_already_mended_trigger = no
}
neow_reunited_orthodox_faith_trigger = yes
}
}