Compare commits

..

6 commits

Author SHA1 Message Date
da42d58ef5 fix 2026-04-13 20:14:52 +01:00
d4cdbed59f fixed i believe 2026-04-12 19:53:29 +01:00
trashmasteruni
1043a04215 vanilla doctrines fixed (modded ones still fukd) 2026-04-07 01:40:51 +02:00
2fecafd766 more work?
I think I'm making progress
2026-03-28 13:33:02 -04:00
141a58a2fb Delete _holy_sites.info 2026-03-27 13:51:26 -04:00
70afecd162 Religion updating, initial work
Title
2026-03-27 13:37:57 -04:00
37 changed files with 3308 additions and 2242 deletions

View file

@ -0,0 +1,817 @@
hostility_group = {
category = "not_creatable"
doctrine_types = {
abrahamic_hostility_doctrine
pagan_hostility_doctrine
eastern_hostility_doctrine
sinitic_hostility_doctrine
antediluvianist_hostility_doctrine
}
}
doctrine_marriage_type = {
category = "marriage"
doctrine_types = {
doctrine_monogamy
doctrine_polygamy
doctrine_concubines
}
}
doctrine_divorce = {
category = "marriage"
doctrine_types = {
doctrine_divorce_disallowed
doctrine_divorce_approval
doctrine_divorce_allowed
}
}
doctrine_bastardry = {
category = "marriage"
doctrine_types = {
doctrine_bastardry_none
doctrine_bastardry_legitimization
doctrine_bastardry_all
}
}
doctrine_homosexuality = {
category = "crimes"
doctrine_types = {
doctrine_homosexuality_crime
doctrine_homosexuality_shunned
doctrine_homosexuality_accepted
}
}
doctrine_deviancy = {
category = "crimes"
doctrine_types = {
doctrine_deviancy_crime
doctrine_deviancy_shunned
doctrine_deviancy_accepted
doctrine_deviancy_virtuous
}
}
doctrine_adultery_men = {
category = "crimes"
doctrine_types = {
doctrine_adultery_men_crime
doctrine_adultery_men_shunned
doctrine_adultery_men_accepted
}
}
doctrine_adultery_women = {
category = "crimes"
doctrine_types = {
doctrine_adultery_women_crime
doctrine_adultery_women_shunned
doctrine_adultery_women_accepted
}
}
doctrine_kinslaying = {
category = "crimes"
doctrine_types = {
doctrine_kinslaying_any_dynasty_member_crime
doctrine_kinslaying_extended_family_crime
doctrine_kinslaying_close_kin_crime
doctrine_kinslaying_shunned
doctrine_kinslaying_accepted
}
}
doctrine_witchcraft = {
category = "crimes"
doctrine_types = {
doctrine_witchcraft_crime
doctrine_witchcraft_shunned
doctrine_witchcraft_accepted
doctrine_witchcraft_virtuous
}
}
doctrine_gender = {
category = "main_group"
doctrine_types = {
doctrine_gender_male_dominated
doctrine_gender_equal
doctrine_gender_female_dominated
}
}
doctrine_consanguinity = {
category = "marriage"
doctrine_types = {
doctrine_consanguinity_dynastic
doctrine_consanguinity_restricted
doctrine_consanguinity_cousins
doctrine_consanguinity_aunt_nephew_and_uncle_niece
doctrine_consanguinity_unrestricted
}
}
doctrine_pluralism = {
category = "main_group"
doctrine_types = {
doctrine_pluralism_fundamentalist
doctrine_pluralism_righteous
doctrine_pluralism_pluralistic
}
}
doctrine_theocracy = {
category = "main_group"
doctrine_types = {
doctrine_theocracy_temporal
doctrine_theocracy_lay_clergy
}
}
doctrine_head_of_faith = {
category = "main_group"
doctrine_types = {
doctrine_no_head
doctrine_spiritual_head
doctrine_temporal_head
}
}
doctrine_clerical_function = {
category = "clergy"
doctrine_types = {
doctrine_clerical_function_taxation
doctrine_clerical_function_alms_and_pacification
doctrine_clerical_function_recruitment
}
}
doctrine_clerical_gender = {
category = "clergy"
doctrine_types = {
doctrine_clerical_gender_male_only
doctrine_clerical_gender_female_only
doctrine_clerical_gender_either
}
}
doctrine_clerical_marriage = {
category = "clergy"
doctrine_types = {
doctrine_clerical_marriage_allowed
doctrine_clerical_marriage_disallowed
}
}
doctrine_clerical_succession = {
category = "clergy"
doctrine_types = {
doctrine_clerical_succession_temporal_appointment
doctrine_clerical_succession_spiritual_appointment
doctrine_clerical_succession_temporal_fixed_appointment
doctrine_clerical_succession_spiritual_fixed_appointment
}
}
doctrine_pilgrimage = {
category = "main_group"
doctrine_types = {
doctrine_pilgrimage_forbidden
doctrine_pilgrimage_encouraged
doctrine_pilgrimage_local_rites
doctrine_pilgrimage_mandatory
doctrine_pilgrimage_mandatory_hajj
}
}
doctrine_funeral = {
category = "clergy"
doctrine_types = {
doctrine_funeral_stoic
doctrine_funeral_bewailment
doctrine_funeral_cremation
doctrine_funeral_sky_burial
doctrine_funeral_mummification
doctrine_family_rites
}
}
doctrine_coronation = {
category = "clergy"
is_available_on_create = {
has_ach_dlc_trigger = yes
}
doctrine_types = {
doctrine_no_anointment
doctrine_anointment_permitted
doctrine_imperial_anointment
}
}
doctrine_theism = {
category = "main_group"
doctrine_types = {
doctrine_monotheist
doctrine_polytheist
doctrine_pantheist
}
}
doctrine_muhammad_succession = {
category = "main_group"
is_available_on_create = {
religion_tag = islam_religion
}
doctrine_types = {
muhammad_succession_sunni_doctrine
muhammad_succession_shia_doctrine
muhammad_succession_muhakkima_doctrine
muhammad_succession_zandaqa_doctrine
}
}
doctrine_temple_authority = {
category = "main_group"
is_available_on_create = {
religion_tag = judaism_religion
}
doctrine_types = {
temple_authority_rabbinic_doctrine
temple_authority_toric_doctrine
temple_authority_kohanim_doctrine
temple_authority_samaritan_torah_doctrine
}
}
doctrine_zoroastrian_branches = {
category = "main_group"
is_available_on_create = {
religion_tag = zoroastrianism_religion
}
doctrine_types = {
doctrine_major_branch_behdin
doctrine_heretic_branch_zandik
}
}
doctrine_universal_tolerance_cath = {
category = "main_group"
is_available_on_create = {
religion_tag = catholic_religion
}
doctrine_types = {
special_doctrine_roman_rite
special_doctrine_sevillian_rite
special_doctrine_independent_catholic
special_doctrine_via_media
special_doctrine_incorruptible_dogma
special_doctrine_religion_fallback
}
}
doctrine_universal_tolerance_nov = {
category = "main_group"
is_available_on_create = {
religion_tag = novelist_religion
}
doctrine_types = {
special_doctrine_fantastical_kinship
special_doctrine_academic_kinship
special_doctrine_christian_kinship
special_doctrine_islamic_kinship
special_doctrine_singular_interpretation
special_doctrine_religion_fallback
}
}
doctrine_universal_tolerance_fre = {
category = "main_group"
is_available_on_create = {
religion_tag = french_pantheon_religion
}
doctrine_types = {
special_doctrine_populares
special_doctrine_optimates
special_doctrine_religion_fallback
}
}
doctrine_universal_tolerance_prot = {
category = "main_group"
is_available_on_create = {
religion_tag = protestant_religion
}
doctrine_types = {
special_doctrine_established_church
special_doctrine_reformation_roots
special_doctrine_via_media
special_doctrine_radical_reform
special_doctrine_religion_fallback
}
}
doctrine_universal_tolerance_thel = {
category = "main_group"
is_available_on_create = {
OR = {
religion_tag = druidic_religion
religion_tag = wicca_religion
religion_tag = thelema_religion
}
}
doctrine_types = {
special_doctrine_fae_and_folklore
special_doctrine_might_and_magick
special_doctrine_goddesses_and_glory
special_doctrine_crowleyan_magic
special_doctrine_loyal_servants_of_the_queen
special_doctrine_servants_of_the_regency
special_doctrine_regicidal
special_doctrine_truest_servants_of_the_queen
special_doctrine_religion_fallback
}
}
doctrine_universal_tolerance_brit = {
category = "main_group"
is_available_on_create = {
religion_tag = britannic_religion
}
doctrine_types = {
special_doctrine_regicidal
special_doctrine_truest_servants_of_the_queen
special_doctrine_religion_fallback
}
}
doctrine_universal_tolerance_ger = {
category = "main_group"
is_available_on_create = {
OR = {
religion_tag = folkgerman_religion
religion_tag = oceanic_religion
}
}
doctrine_types = {
special_doctrine_cult_of_saints
special_doctrine_old_lore
special_doctrine_heathen_revanchism
special_doctrine_religion_fallback
special_doctrine_religion_fallback
}
}
doctrine_universal_tolerance_chron = {
category = "main_group"
is_available_on_create = {
religion_tag = chronicler_religion
}
doctrine_types = {
special_doctrine_hermetic
special_doctrine_religion_fallback
}
}
doctrine_universal_tolerance_euro = {
category = "main_group"
is_available_on_create = {
religion_tag = europeanist_religion
}
doctrine_types = {
special_doctrine_apollonian
special_doctrine_dionysian
special_doctrine_religion_fallback
}
}
doctrine_core_tenets = {
category = "core_tenets"
number_of_picks = 3
doctrine_types = {
# Christian Faith Tenets
tenet_aniconism
tenet_alexandrian_catechism
tenet_armed_pilgrimages
tenet_carnal_exaltation
tenet_communal_identity
tenet_communion
tenet_consolamentum
tenet_divine_marriage
tenet_gnosticism
tenet_mendicant_preachers
tenet_monasticism
tenet_pacifism
tenet_pentarchy
tenet_unrelenting_faith
tenet_vows_of_poverty
tenet_pastoral_isolation
tenet_rite
# Muslim Faith Tenets
tenet_adaptive
tenet_esotericism
tenet_legalism
tenet_literalism
tenet_reincarnation
tenet_religious_legal_pronouncements
tenet_struggle_submission
tenet_false_conversion_sanction
tenet_tax_nonbelievers
# Eastern Faith Tenets
tenet_asceticism
tenet_bhakti
tenet_dharmic_pacifism
tenet_inner_journey
tenet_ritual_hospitality
# Pagan Faith Tenets
tenet_adorcism
tenet_ancestor_worship
tenet_astrology
tenet_hedonistic
tenet_human_sacrifice
tenet_mystical_birthright
tenet_ritual_celebrations
tenet_sacred_childbirth
tenet_sanctity_of_nature
tenet_sun_worship
tenet_warmonger
tenet_gruesome_festivals
tenet_cthonic_redoubts
tenet_household_gods
# Syncretic Faith Tenets
tenet_sinitic_syncretism
tenet_eastern_syncretism
tenet_unreformed_syncretism
tenet_christian_syncretism
tenet_islamic_syncretism
tenet_jewish_syncretism
# Custom Faith Tenets
tenet_exaltation_of_pain
tenet_natural_primitivism
tenet_pursuit_of_power
tenet_ritual_cannibalism
tenet_sacred_shadows
tenet_polyamory
tenet_sacrificial_ceremonies
tenet_megaliths
# FP3 Tenets
tenet_fp3_fedayeen
tenet_communal_possessions
# TGP Tenets
tenet_pure_land
tenet_no_mind
tenet_mountain_worship
tenet_extinction_of_dharma
tenet_cranial_trophies
tenet_pursuit_of_knowledge
tenet_benevolent_governance
tenet_filial_piety
tenet_harmonious_society
tenet_sacred_destruction
tenet_preservation
tenet_takamin
# NEOW Tenets
tenet_divine_opulence
king_of_winter
tenet_armed_resistance
tenet_rule_the_waves
tenet_terror_of_the_seas
tenet_true_will
tenet_love_under_will
tenet_do_what_thou_wilt
core_tenet_belle_epoque
tenet_righteous_fury
core_tenet_peacekeeping
tenet_let_the_poppies_grow
tenet_druidry
tenet_liberte
tenet_egalite
tenet_fraternite
tenet_universal_scripture
tenet_people_of_the_book
one_king_to_rule_them_all
tenet_restore_the_crown
tenet_chivalric_ideals
tenet_letranger
tenet_the_search_for_a_meaning
tenet_catholic_communion
tenet_scientific_discourse
tenet_wandering_bards
tenet_divine_progress
tenet_five_points
tenet_theomonarchy
}
}
is_christian_faith = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_is_christian_faith
}
doctrine_types = {
special_doctrine_is_christian_faith
}
}
is_islamic_faith = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_is_islamic_faith
}
doctrine_types = {
special_doctrine_is_islamic_faith
}
}
is_jewish_faith = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_is_jewish_faith
}
doctrine_types = {
special_doctrine_is_jewish_faith
}
}
is_eastern_faith = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_is_eastern_faith
}
doctrine_types = {
special_doctrine_is_eastern_faith
}
}
is_sinitic_faith = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_is_sinitic_faith
}
doctrine_types = {
special_doctrine_is_sinitic_faith
}
}
is_hostile_to_maitreya = {
category = "not_creatable"
doctrine_types = {
special_doctrine_maitreya_hostility
special_doctrine_is_maitreya
}
}
is_gnostic_faith = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_is_gnostic_faith
}
doctrine_types = {
special_doctrine_is_gnostic_faith
}
}
special_tolerance = {
category = "main_group"
is_available_on_create = {
always = no # Goes away when creating a new Faith
}
doctrine_types = {
special_doctrine_ecumenical_christian
}
}
heresy_hostility = {
category = "not_creatable"
is_available_on_create = {
has_doctrine = heresy_hostility_doctrine
}
doctrine_types = {
heresy_hostility_doctrine
}
}
nudity_doctrine = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_naked_priests
}
doctrine_types = {
special_doctrine_naked_priests
}
}
unreformed_faith = {
category = "not_creatable"
is_available_on_create = {
# Goes away on reformation
always = no
}
doctrine_types = {
unreformed_faith_doctrine
west_african_unreformed_faith_doctrine
}
}
divine_destiny = {
category = "special"
is_available_on_create = {
has_doctrine = divine_destiny_doctrine
}
doctrine_types = {
divine_destiny_doctrine
}
}
adoptionist_school = {
category = "special"
is_available_on_create = {
# Removed on reformation.
always = no
}
doctrine_types = {
special_doctrine_adoptionist_school_elipandic_doctrine
special_doctrine_adoptionist_school_felicitous_doctrine
special_doctrine_adoptionist_school_radical_doctrine
}
}
not_allowed_to_hof = {
category = "special"
is_available_on_create = {
# Removed on reformation.
always = no
}
doctrine_types = {
special_doctrine_not_allowed_to_hof
}
}
#Game rule only
full_tolerance = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_full_tolerance
}
doctrine_types = {
special_doctrine_full_tolerance
}
}
has_jizya_doctrine = {
category = "special"
is_available_on_create = {
OR = {
has_doctrine = special_doctrine_jizya
has_doctrine = special_doctrine_is_islamic_faith
}
}
doctrine_types = {
special_doctrine_jizya
}
}
immaterial_harmony = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_immaterial_harmony
}
doctrine_types = {
special_doctrine_immaterial_harmony
}
}
custom_virtues = {
category = "special"
is_available_on_create = {
has_doctrine = special_doctrine_english_anglican
has_doctrine = special_doctrine_british_royalty
has_doctrine = special_doctrine_british_admiralty
has_doctrine = special_doctrine_british_unity
has_doctrine = special_doctrine_liberty
has_doctrine = special_doctrine_equality
has_doctrine = special_doctrine_fraternity
has_doctrine = special_doctrine_aslan
has_doctrine = special_doctrine_numenor
has_doctrine = special_doctrine_charlemagne
has_doctrine = special_doctrine_dracula
has_doctrine = special_doctrine_reason_and_progress
has_doctrine = special_doctrine_simurghi
has_doctrine = special_doctrine_rocambolist
has_doctrine = special_doctrine_absurdist
has_doctrine = special_doctrine_base_thelema
has_doctrine = special_doctrine_old_thelema
has_doctrine = special_doctrine_king_arthurs_bravery
has_doctrine = special_doctrine_horned_lords_law
has_doctrine = special_doctrine_helvetic
}
doctrine_types = {
special_doctrine_english_anglican
special_doctrine_british_royalty
special_doctrine_british_admiralty
special_doctrine_british_unity
special_doctrine_liberty
special_doctrine_equality
special_doctrine_fraternity
special_doctrine_aslan
special_doctrine_numenor
special_doctrine_charlemagne
special_doctrine_dracula
special_doctrine_reason_and_progress
special_doctrine_simurghi
special_doctrine_rocambolist
special_doctrine_absurdist
special_doctrine_base_thelema
special_doctrine_old_thelema
special_doctrine_king_arthurs_bravery
special_doctrine_horned_lords_law
special_doctrine_helvetic
}
}

View file

@ -0,0 +1,34 @@
### Brief: key ( database key )
# Name of 'doctrine_group'
# The key will be used for the doctrine icon, combined with the path in the define FAITH_DOCTRINE_ICON_PATH
# Localization is selected by: <key> + "_name"
#
key = {
### Brief: category ( string )
# How the group is categorized in the UI
#
category = "string"
### Brief: number_of_picks ( integer )
# How many unique doctrines within the group does the player get to choose?
# Default is 1.
#
number_of_picks = 1
### Brief: is_available_on_create ( trigger )
# When should this doctrine group be shown when choosing doctrines?
# If not shown, the group will go away entirely on create if present on the old faith.
#
# Supported scopes:
# root ( Faith )
#
is_available_on_create = { ... }
### Brief: doctrine_types ( list of database key )
# List the doctrine types to be associated with this group.
#
doctrine_types = {
<key>
<key>
}
}

View file

@ -1,41 +1,4 @@
universal_tolerance = { #This is a complicated set of doctrines that determine the hostility levels of every faith in the mod
group = "main_group"
is_available_on_create = {
OR = { #list of religions currently within the universal tolerance set. This should eventually include every religion. Please keep this updated and organized.
### Abrahamics
#Catholics
religion_tag = catholic_religion
#Novelist
religion_tag = novelist_religion
#Protestant
religion_tag = protestant_religion
### Esoterics
#Wiccans
religion_tag = wicca_religion
#Thelema
religion_tag = thelema_religion
#Britannic
religion_tag = britannic_religion
### Pagans
#Druidics
religion_tag = druidic_religion
#Germanics
religion_tag = folkgerman_religion
#Hermetic
religion_tag = chronicler_religion
#Europeanist
religion_tag = europeanist_religion
# Temp measure before religion doctrines set up for religions w/ PotB access
has_doctrine = special_doctrine_people_of_the_book
}
}
#Catholic Doctrines

special_doctrine_roman_rite = {
is_shown = {
religion_tag = catholic_religion
@ -1106,5 +1069,4 @@
same_faith_opinion = 5
}
}
}

View file

@ -0,0 +1,41 @@
abrahamic_hostility_doctrine = {
parameters = {
hostility_same_religion = 2
hostility_same_family = 3
hostility_others = 3
}
}
pagan_hostility_doctrine = {
visible = no
parameters = {
hostility_same_religion = 1
hostility_same_family = 2
hostility_others = 3
}
}
eastern_hostility_doctrine = {
parameters = {
hostility_same_religion = 1
hostility_same_family = 1
hostility_others = 2
}
}
sinitic_hostility_doctrine = {
parameters = {
hostility_same_religion = 1
hostility_same_family = 1
hostility_others = 2
}
}
antediluvianist_hostility_doctrine = {
parameters = {
hostility_same_religion = 2
hostility_same_family = 2
hostility_others = 3
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,4 @@
doctrine_core_tenets = {
group = "core_tenets"
number_of_picks = 3

###### NEOW TENETS ######
###WICCA###
@ -5641,7 +5638,6 @@
virtues = { lifestyle_hunter }
}
}
}
#############################
# Empty Template Tenet #

View file

@ -1,41 +1,102 @@
Faith doctrines are what defines how a faith works. All unique faith mechanics are tied to doctrines, rather than involving hardcoding or special parameters on the religion itself.
### Brief: key ( database key )
# Name of 'doctrine_type'
# Faith doctrines are what defines how a faith works. All unique faith mechanics are tied to doctrines, rather than involving hardcoding or special parameters on the religion itself.
#
key = {
### Brief: icon ( optional string )
# To override which icon is used, set its filename here (without file ending).
# Required path = DOCTRINE_TYPE_ICON_PATH
# Default: Will look for icon in the path with the same name as key
#
icon = "filename"
== Structure ==
doctrine_group_key = { # The key will be used for the doctrine icon, combined with the path in the define FAITH_DOCTRINE_ICON_PATH
name = dynamic description # Optional. If not specified, the loc key "doctrine_group_key_name" will be used
grouping = "key" # GUI grouping
is_available_on_create = {} # When should this doctrine group be shown when choosing doctrines? If not shown, the group will go away entirely on create if present on the old faith
number_of_picks = 3 # How many doctrines within the group does the player get to choose? Defaults to 1. The UI will ensure no duplicates
doctrine_key = {
name = dynamic description # Optional. If not specified, the loc key "doctrine_key_name" will be used
desc = dynamic description # Optional. If not specified, the loc key "doctrine_key_desc" will be used
visible = yes/no # Should be shown on the religion interface
parameters = {
param_name = yes/no # Parameters can take bools
param_name = 0.5 # Or fixed point numbers
}
piety_cost = script value # How much piety will it cost?
is_shown = {} # When should this doctrine be shown when choosing doctrines?
can_pick = {} # When can this doctrine be picked when choosing doctrines?
# When doctrines should refer to other selected doctrines when creating a new faith (e.g. for mutually exclusive doctrines), use:
# flag:required_doctrine = { is_in_list = selected_doctrines }
# The "selected_doctrines" list is the list of doctrines currently selected in the UI. (It might be different from the doctrines in
# the faith, since the player can change multiple doctrines when creating a faith.)
character_modifier = {} # All characters of this faith get this modifier
doctrine_character_modifier = { # All characters of this faith get this modifier if the faith also has the specified doctrine
doctrine = ...
...
}
### brief: name ( optional dynamic description )
# Dynamic description selecting name of doctrine.
# Defaults to: <doctrine_key> + "_name"
#
# Supported scope:
# root ( Faith )
#
name = { ... }
traits = { ... } # Adds additional sins/virtues. See traits in _religions.info. If a trait is already a sin or virtue in the religion, the doctrine takes precedence.
### brief: desc ( optional dynamic description )
# Dynamic description selecting description of doctrine.
# Defaults to: <doctrine_key> + "_desc"
#
# Supported scopes:
# root ( Faith )
#
desc = { ... }
### brief: visible ( bool )
# Will this doctrine show up in gui views?
# Defaults to: yes
#
visible = yes/no
### Brief: parameters ( parameter list )
# Arbitrary parameters where bool types can be checked with the trigger: 'has_doctrine_parameter'
#
# Note: The above trigger just checks for existence, so it does not
# matter if the value is set to 'yes' or 'no'.
#
parameters = {
param_name = yes/no # Parameters can take bools
param_name = 0.5 # Or fixed point numbers
}
}
All scopes have the player's faith as root
### Brief: piety_cost ( optional scripted cost )
# How much does this doctrine cost?
#
piety_cost = {
<scripted_cost>
}
### Brief: is_shown ( trigger )
# When should this doctrine be shown when choosing doctrines?
#
# Supported scopes:
# root ( Faith )
#
is_shown = {
<triggers>
}
### Brief: can_pick ( trigger )
# When can this doctrine be picked when choosing doctrines?
# When doctrines should refer to other selected doctrines when creating a new faith (e.g. for mutually exclusive doctrines), use:
# flag:required_doctrine = { is_in_list = selected_doctrines }
# The "selected_doctrines" list is the list of doctrines currently selected in the UI. (It might be different from the doctrines in
# the faith, since the player can change multiple doctrines when creating a faith.)
#
# Supported scopes:
# root ( Faith )
#
can_pick = {
<triggers>
}
### Brief: character_modifier ( modifiers )
# All characters of this faith get this modifier.
# Ex: { monthly_piety_gain_mult = -0.25, same_faith_opinion = -5 }
#
character_modifier = {
<modifier>
}
### Brief: doctrine_character_modifier ( modifiers )
# All characters of this faith get this modifier if the faith also has the specified doctrine.
#
doctrine_character_modifier = {
doctrine = ...
...
}
### Brief: traits ( database keys )
# Adds additional sins/virtues. See traits in _religions.info. If a trait is already a sin or virtue in the religion, the doctrine takes precedence.
#
traits = { ... }
}
== Special parameters ==
Many parameters interact directly with the code. This is a list of all such parameters.
@ -75,9 +136,8 @@ The name of each hostility level is defined by the define HOSTILITY_LEVEL_NAMES
Hostility level can be accessed in script. E.G., faith_hostility_level = { target = scope:some_faith value >= 1 }.
You can also compare to see which faith you're most hostile to. E.G., faith_hostility_level_comparison = { scope:some_faith > scope:some_other_faith }
== Precedence ==
Order of definition; earlier definition, higher precedence.
Order of definition; later definition, higher precedence.
== Localisation ==
Effects are localized based on the parameter name. "doctrine_parameter_" plus the name. If the value is "no", that plus "_disabled" will be used. If an integer is used, the game will try to append that integer (E.G., "_1"), and use that loc key. If the key doesn't exist, then the int does not get appended.

View file

@ -1,40 +0,0 @@
# Defined early so tenets / other doctrines can override these
hostility_group = {
group = "not_creatable"
abrahamic_hostility_doctrine = {
parameters = {
hostility_same_religion = 2
hostility_same_family = 3
hostility_others = 3
}
}
pagan_hostility_doctrine = {
visible = no
parameters = {
hostility_same_religion = 1
hostility_same_family = 2
hostility_others = 3
}
}
eastern_hostility_doctrine = {
parameters = {
hostility_same_religion = 1
hostility_same_family = 1
hostility_others = 2
}
}
sinitic_hostility_doctrine = {
parameters = {
hostility_same_religion = 1
hostility_same_family = 1
hostility_others = 2
}
}
antediluvianist_hostility_doctrine = {
parameters = {
hostility_same_religion = 2
hostility_same_family = 2
hostility_others = 3
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,35 @@
The Great Holy War system is for the most part pretty similar to the one introduced in CK2: Holy Fury.
The biggest difference is that all faiths use the system, rather than only Catholics.
== Concepts ==
Target character: The person who the war will be declared on
Target title: The dejure kingdom being targeted
Official recipient: Who the religious head wants installed as king
Countdown timer: How long it'll take before the war is declared
Pledged participants: Characters who have said they'll join when the war begins. Will be forced to join
War chest: Gold, piety, and prestige that can be divided between participants
Beneficiaries: Who the pledged attackers want to install as rulers in the target kingdom
== Undirected GHW ==
The fanciest form of GHW is the "undirected" form, where the religious head declares that a war will be launched in a while, and that everyone of the faith should help out in some way.
The progression is as follows:
1. The effect start_great_holy_war starts the GHW preparation, determinining the initial target, and the delay before the war should start
2. Attackers and defenders pledge using pledge_attacker/pledge_defender
3. Alternatively, provide things to the warchest using change_war_chest_gold/piety/prestige
4. When the timer runs out, on_great_holy_war_countdown_end is called
5. Script has to call start_ghw_war = cb_to_use. If not called, the GHW will be cancelled and on_great_holy_war_invalidation will be called
6. You can give out some of the war chest using divide_war_chest
7. A war unfolds as normal
8. War contribution gives GHW contribution, based on ghw_score_mult and ghw_max_score_percentage
9. War concludes as normal. As part of this, you can divvy up the war chest (will be divided based on contribution, as long as they have at least MINIMUM_CONTRIBUTION_FOR_REWARD contribution)
10. Titles are given out using do_ghw_title_handout. This does *not* give out the kingdom, just everything below it in the defenders' realms. You need to ensure the winner has a kingdom-tier title. Preferably, make it part of the same title and vassal change
== Directed GHW ==
As above, but steps 1 through 4 are skipped.
Declared via regular CB. Tied to a GHW by starting the GHW with a reference to the war.
When a GHW is set to directed, the only code difference is that the top contributor will act as their own beneficiary, and designated winners are not used. In vanilla, we also disable the war chest
== Various ==
is_great_holy_war = yes - Putting this on the GHW CB(s) will ensure that the counties that'll be given to the participants get correctly highlighted during war declaration

View file

@ -0,0 +1,38 @@
### Brief: key ( database key )
# Name of 'holy_site_type'
# Faiths can have holy sites, giving various effects (mostly through references elsewhere in script).
# Localization is selected by: "holy_site_<key>_name"
# Effect loc is applied in addition to character modifiers (if exists): "holy_site_<key>_effects"
#
key = {
### brief: barony ( database key )
# Define barony override.
#
barony = <key>
### brief: county ( database key )
# Define county.
#
county = <key>
### Brief: parameters ( parameter list )
# Arbitrary parameters to be checked in applying various effects.
# Localization: "holy_site_parameter_<parameter_name>" where $PARAMETER_NAME$ inserts localized named of parameter
# Trigger (barony scope): 'has_holy_site_parameter' where $TITLE$ inserts localized named of barony
# Trigger (faith scope): 'controls_holy_site_with_parameter' where $FAITH$ inserts localized named of faith
#
# Note: The above trigger just checks for existence, so it does not
# matter if the value is set to 'yes' or 'no'.
#
parameters = {
some_parameter = yes
}
### Brief: character_modifier ( modifiers )
# Modifiers applied to all characters of any faith with this holy site when the holder of the barony is of their faith.
# Ex: { development_growth_factor = 0.1, church_holding_build_gold_cost = -0.1 }
#
character_modifier = {
<modifier>
}
}

View file

@ -1,17 +0,0 @@
Faiths can have holy sites, giving various effects (mostly through references elsewhere in script).
== Structure ==
holy_site_name = {
county = c_somewhere
flag = flag1
flag = flag2
character_modifier = { # Optional. Applied to all characters of any faith with this holy site when the holder of the barony is of their faith
some effects
}
}
== Localisation ==
The name of the holy site will be "holy_site_<key>_name".
The custom effect description will be "holy_site_<key>_ effects". It'll be used in addition to the character modifier (if any).

View file

@ -1,6 +0,0 @@
rf_antediluvianist = {
piety_icon_group = "pagan"
graphical_faith = "pagan_gfx"
hostility_doctrine = pagan_hostility_doctrine
doctrine_background_icon = core_tenet_banner_pagan.dds
}

View file

@ -1,7 +0,0 @@
rf_esoteric = {
is_pagan = yes
piety_icon_group = "pagan"
graphical_faith = "pagan_gfx"
hostility_doctrine = pagan_hostility_doctrine
doctrine_background_icon = core_tenet_banner_pagan.dds
}

View file

@ -0,0 +1,41 @@
rf_abrahamic = {
graphical_faith = "orthodox_gfx"
hostility_doctrine = abrahamic_hostility_doctrine
doctrine_background_icon = core_tenet_banner_christian.dds
}
rf_eastern = { #Dharmic
piety_icon_group = "eastern"
graphical_faith = "dharmic_gfx"
hostility_doctrine = eastern_hostility_doctrine
doctrine_background_icon = core_tenet_banner_eastern.dds
}
rf_sinitic = {
piety_icon_group = "taoism"
graphical_faith = "dharmic_gfx"
hostility_doctrine = eastern_hostility_doctrine
doctrine_background_icon = core_tenet_banner_eastern.dds
}
rf_pagan = {
piety_icon_group = "pagan"
graphical_faith = "pagan_gfx"
hostility_doctrine = pagan_hostility_doctrine
doctrine_background_icon = core_tenet_banner_pagan.dds
}
rf_antediluvianist = {
piety_icon_group = "pagan"
graphical_faith = "pagan_gfx"
hostility_doctrine = pagan_hostility_doctrine
doctrine_background_icon = core_tenet_banner_pagan.dds
}
rf_esoteric = {
is_pagan = yes
piety_icon_group = "pagan"
graphical_faith = "pagan_gfx"
hostility_doctrine = pagan_hostility_doctrine
doctrine_background_icon = core_tenet_banner_pagan.dds
}

View file

@ -0,0 +1,35 @@
### Brief: key ( database key )
# Name of 'religion_family_type'
#
key = {
### Brief: name ( optional string )
# Optionally override what localization key will be used.
# Default: Localization key is same as database key.
#
name = "loc_key"
### Brief: hostility_doctrine ( optional database key )
# Use this doctrine for displaying hostility levels toward other religious families.
# Keys describing levels are: faith_righteous, faith_astray, faith_hostile, faith_evil.
# Default: Will not display hostility levels in tooltips.
#
hostility_doctrine = <key>
### Brief: piety_icon_group ( string )
# This is the final fallback in picking piety icon. Otherwise overridden by: faith > religion > family.
# Text icon format: "PIETY_TEXT_ICON_" + piety_icon_group
#
piety_icon_group = pagan
### Brief: doctrine_background_icon ( string )
# This is the final fallback in picking tenet background. Otherwise overridden by: faith > religion > family.
# Note: This is the banner shown behind picked tenets.
#
doctrine_background_icon = "core_tenet_banner_pagan.dds"
### Brief: graphical_faith ( string )
# This is the final fallback in picking 3D model. Otherwise overridden by: faith > religion > family.
# Note: Currently used for temple assets.
#
graphical_faith = "orthodox_gfx"
}

View file

@ -1,4 +1,4 @@
At game start, the religions and faiths defined in this folder will exist.
At game start, the religions and faiths defined in this folder will exist.
== structure ==
religion_name = {
@ -25,10 +25,9 @@ religion_name = {
# Holders of the traits will also get the virtue_owner_modifier/sin_owner_modifier for each matching trait.
# Virtues and sins can optionally have a multiplier to scale the effects (default is 1):
virtues = { brave = 0.5 } # scales both the opinion effect and the modifier
# And they can specify a custom modifier (default is virtue_owner_modifier/sin_owner_modifier):
# Scale is optional defaults to 1
# Weight is optional defaults to 1. If there are two (or more) the same traits then the weight will be taken into account and is used to decide what and how a trait should be used
sins = { stubborn = { modifier = modifier_key scale = 2 weight = 2 } }
sins = { stubborn = { scale = 2 weight = 2 } }
}
reserved_male_names = { ... } # Names listed here will be applied to all faiths that don't define reserved_male_names themselves.