more file updating

This commit is contained in:
Thakia 2026-10-09 20:41:46 -03:00
parent 4afc9466f5
commit fde59745b8
99 changed files with 5706 additions and 2115 deletions

View file

@ -36,7 +36,7 @@
1850 3700 2 4
1650 3200 2 1
}
MERIT_GUI_UPDATE_INTERVAL = 60 # How often the Merit Pool GUI is updated in frames
MERIT_GUI_UPDATE_INTERVAL = 60 # How often the Merit Pool GUI is updated in frames
}
NSetup = {
@ -155,7 +155,7 @@ NCharacter = {
LEVELS_PRESTIGE = { 1000 2000 5000 10000 25000 }
LEVELS_INFLUENCE = { 1000 4000 8000 12000 20000 }
LEVELS_MERIT = { 100 1000 2000 3500 5500 8500 12000 17000 23000 }
# default max level index (0-based) for governments. Can be overridden with field currency_levels_cap in the government type
DEFAULT_PIETY_LEVEL_CAP = 5
DEFAULT_PRESTIGE_LEVEL_CAP = 5
@ -318,6 +318,8 @@ NCharacter = {
MONTHLY_INFLUENCE_GAIN_ALLIED_TO_TOP_LIEGE = 1.5 # Monthly influence gained for admin rulers in admin realm if you are allied to your top liege
MONTHLY_INFLUENCE_GAIN_ALLIED_TO_HOUSE_HEAD = 1 # Monthly influence gained for admin rulers when are allied to admin ruler house head
MONTHLY_INFLUENCE_GAIN_BEING_GOVERNOR = 1 # Monthly influence gained in admin realm from being a governor
INTENDED_MAX_PERSONALITY_TRAITS = 6 # Giving more personality traits than this to a character will cause the game to log an error.
}
NOldAge = {
@ -446,8 +448,6 @@ NMarriage = {
}
NCharacterOpinion = {
CONVERGENCE_DELAY = 31 # opinion modifiers will start to decay/grow after this many days
MAX_OPINION = 100
MIN_OPINION = -100
@ -472,6 +472,8 @@ NCharacterOpinion = {
PIOUS = { -10 0 5 10 20 30 40 55 75 }
PRESTIGIOUS = { -10 0 5 10 20 30 }
PIOUS_MAGNIFICENCE = { -5 0 3 5 10 15 20 25 35 }
# TODO_PAM_DESIGN TIT-76476 Balance these numbers - These are opinion bonus on secular rulers towards theocratic clergy based on clergy piety level
PIOUS_CLERGY = { -5 0 3 5 10 15 20 25 35 } # secular opinion bonus towards clergy in theocratic clergy faiths
SKILL_DIPLOMACY_MULT = 1 # opinion = round( ( <diplo skill> - SKILL_MODIFIER_OFFSET ) * SKILL_DIPLOMACY_MULT )
@ -554,6 +556,7 @@ NGovernment = {
"tribal_government"
"mercenary_government"
"holy_order_government"
"monastic_holy_order_government"
"administrative_government"
"landless_adventurer_government"
"landless_minority_government"
@ -568,6 +571,7 @@ NGovernment = {
"wanua_government"
"meritocratic_government"
"steppe_admin_government"
"ecclesiastical_government"
}
}
@ -791,13 +795,54 @@ NPowerfulVassal = {
}
NFaith = {
MAX_VIRTUES_SINS = 7 # Virtues and sins are taken from core and approved tenets. only keep this number, giving priority to higher weights
BASE_FERVOR = 50.0 # Default fervor
MAX_FERVOR = 100.0 # Max amount of fervor
YEARLY_FERVOR_GROWTH = 3.5 # Fervor yearly change, can be negative
MINIMUM_FAITH_SIZE_FERVOR_MODIFIER = 10 # Adjusts the size modifier for monthly fervor gain for a faith according to the following formula: 1/squareroot(max(define_value, faith_size)/define_value) where define value is the value of MINIMUM_FAITH_SIZE_FERVOR_MODIFIER and faith_size is the current amount of provinces that follows the faith.
FERVOR_CHANGELOG_DURATION = 10 # After how many years do fervor changelog entries get deleted?
FAITH_CREATION_FERVOR_DISCOUNT_PER_MISSING_FERVOR = 1 # How much cheaper does creating a faith get per fervor below 100%? 1 means 1% per point
FAITH_CREATION_FERVOR_DISCOUNT_MAX = 50 # What percentage does the discount cap out at? With these numbers, 0-50 fervor means a 50% discount. Above 50 means between 0% and 50% discount
YEARLY_FERVOR_GROWTH = 0.5 # Fervor yearly change, can be negative
FERVOR_CHANGELOG_DURATION = 1 # After how many years do fervor changelog entries get deleted?
# Counties per rite before a new rite is likely to spawn
MAX_FAITH_SIZE_PER_RITE = 100
# when fervor is below this value, rites will start becoming more divergent and potentially split off to new faiths
LOW_FERVOR_THREASHOLD = 40
# Yearly fervor loss grows faster with each extra heresy, and zero here turns depletion off
HERESY_FERVOR_DEPLETION_MULTIPLIER = 1
# a faith will be allowed to have this many heresies before the squared heresy depletion will start kicking in
FREE_HERETICAL_RITES_BEFORE_DEPLETION = 0
# if the faith has more rites than it needs (see MAX_FAITH_SIZE_PER_RITE), the number of heresies that counts towards the yearly depletion is reduced
# by the excess rites multiplied by this number.
# e.g. a faith that has 3 heresies would normally lose 9 fervor per year.
# but if it has 5 branched rites and 250 counties (2 rites over the 3 needed to cover <=300 counties), the loss protection is 1 = (2 * 0.5)
# then the heresies that count are 2 instead of 3, and the fervor loss is 4 instead of 9
OVER_NEEDED_RITES_FERVOR_LOSS_PROTECTION_MULT = 0.5
# every non-heretical divergent rite will provide at most this fervor loss
MAX_FERVOR_LOSS_PER_DIVERGENT_RITE = 0.9
# how many relics can be extracted from a saint? must be positive
MAX_RELICS_FROM_SAINT = 4
}
NRite = {
RITE_CREATION_FERVOR_DISCOUNT_PER_MISSING_FERVOR = 1 # How much cheaper does creating a faith get per fervor below 100%? 1 means 1% per point
RITE_CREATION_FERVOR_DISCOUNT_MAX = 50 # What percentage does the discount cap out at? With these numbers, 0-50 fervor means a 50% discount. Above 50 means between 0% and 50% discount
RITE_CREATION_DIVERGENCE_FAITH_THRESHOLD = 100 # when creating a Rite, divergence values at or over this threshold will result in a Faith being created instead of a Rite
RITE_CREATION_PIETY_COST = 1.0 # Fixed cost how much piety it costs to branch off a Faith with new Rite
RITE_DIVERGENCE_HERETICAL_THRESHOLD = 65 # Divergence above which a Rite is considered heretical
RITE_DIVERGENCE_HOSTILITY_THRESHOLD = 1 # Divergence below that will lower faith hostility by 1 level
RITE_DIVERGENCE_GRACE_THRESHOLD = 0 # rites below this divergence will not add to the yearly fervor decrease
# Values are Unknown, Known, Prohibited, Permitted, Core
# Core tenets are checked both ways
TENET_STATUS_DIVERGENCE = { 15 15 30 5 -5 }
# Dynamic rite color interval vs the faith, two values 0-1, second larger
RITE_COLOR_DEVIATION = { 0.1 0.6 }
}
NReligion = {
@ -825,7 +870,7 @@ NReligion = {
1
}
HOSTILITY_LEVEL_NAMES = { # Localization for each hostility level. See _doctrines.info for more info
HOSTILITY_LEVEL_NAMES = { # Localization for each hostility level. See _doctrine_types.info for more info
"FAITH_HOSTILITY_RIGHTEOUS"
"FAITH_HOSTILITY_ASTRAY"
"FAITH_HOSTILITY_HOSTILE"
@ -842,6 +887,52 @@ NReligion = {
HEAD_OF_FAITH_PIETY_GAIN = 1.0 # Monthly piety gain for heads of faith
FAITH_COLOR_DEVIATION = { 0.25 0.35 } # How much should generated colors differ from the faith they're based on? Distance within the HSV colorspace
# Spiritual fulfillment
MIN_SPIRITUAL_FULFILLMENT = -100
MAX_SPIRITUAL_FULFILLMENT = 100
# Resting fulfillment from traits affected by personal tenets is multiplied by this
SPIRITUAL_FULFILLMENT_MULT_PERSONAL_TENET = 2
# same for tenets set as Core by Rites
SPIRITUAL_FULFILLMENT_MULT_CORE_TENET = 2
# Permitted Tenets also contribute to virtues, but the weight of their trait is multiplied by this
SPIRITUAL_FULFILLMENT_MULT_PERMITTED_TENET = 0.5
# Religion-type traits are overwritten unless synergistic with a tenet/doctrine
# Synergy adds religion weight multiplied by this, instead of keeping only the highest
SPIRITUAL_FULFILLMENT_MULT_RELIGION_TRAIT = 1
# base amount of personal tenets a playable character can subscribe to. Cannot be less than 1. Can be increased with piety levels
BASE_PERSONAL_TENETS_CAP = 1
# how many days player must wait before removing or swapping a personal tenet again after doing so. Adopting a tenet into a free slot does not start this cooldown. Set to 0 to disable.
PERSONAL_TENET_CHANGE_COOLDOWN_DAYS = 1095
# max amount of core tenets a faith can have
FAITH_CORE_TENETS_CAP = 3
# stress gain due to traits is going to be multiplied by tenet weight and divided by this number to yield the Spiritual Fulfillment change.
SPIRITUAL_FULFILLMENT_FOR_STRESS_DIVIDE_FACTOR = 100
# Threshold is on the final fulfillment change from negative stress, not the raw stress impact
MIN_FULFILLMENT_CHANGE_FOR_EFFECT = 5
# Monthly percent progress for same-faith rite spread in a clerical region, per neighbor
MONTHLY_RITE_CONVERSION_PROCESS_PER_NEIGHBORING_COUNTY = 2
# if set to yes, clerical region will not convert counties held by a ruler with a chaplain of a different rite than the region holder.
REQUIRE_SAME_CHAPLAIN_RITE_FOR_REGION_CONVERSION = no
# How many eminent holy sites can a Faith have? (unless overridden by Religion)
FAITH_EMINENT_HOLY_SITES_MAX_DEFAULT = 3
# How many holy sites in total, eminent ones included, can a Faith have? (unless overridden by Religion)
FAITH_HOLY_SITES_MAX_DEFAULT = 9
# Minimum number of eminent holy sites a Faith must retain (unless overridden by Religion)
FAITH_EMINENT_HOLY_SITES_MIN_DEFAULT = 1
# Minimum number of holy sites in total a Faith must retain (unless overridden by Religion)
FAITH_HOLY_SITES_MIN_DEFAULT = 1
# How many rarity levels are required for a Ruler to create a holy site
CREATE_HOLY_SITE_RARITY_REQUIRED = 3
# How many rarity levels can be used to scale holy site effects (should match with holy site slots)
MAX_HOLY_SITE_RARITY_TOTAL = 12
}
NTitle = {
@ -1221,7 +1312,7 @@ NHolyOrder = {
# Otherwise it will use a random type with the holy_order_fallback = yes flag.
RELIGION_MAA_RATIO = 0.7
PATRON_MIN_TIER = 4 # minimum tier for a ruler to be a patron of a holy order
PATRON_MIN_TIER = 3 # minimum tier for a ruler to be a patron of a holy order
LEVY_COST_PER_100_SOLDIERS = 5.0 # The piety cost of the levy regiment part of holy orders, per 100 soldiers for better precision
MAA_COST_RATIO = 0.2 # The piety cost of the MAA regiments of holy orders as a fraction of what those regiments cost when buying them
@ -1355,6 +1446,8 @@ NPortrait = {
GRACEFUL_AGING_START = 25 # After this age, added life expectancy will make a character look younger than they are; the effect grows the further past this point one goes
GRACEFUL_AGING_END = 70 # This is the apparent age at which life expectancy stops slowing down visual aging (each year onwards ages you visually 1 year)
MAX_AGE = 100.0 # At this age portraits will use the special age gene at full strength
DEAD_PORTRAIT_AGE_THRESHOLD = 30 # A dead character who died older than this is rendered at DEAD_PORTRAIT_APPARENT_AGE instead of their age at death (their displayed age at death is unaffected)
DEAD_PORTRAIT_APPARENT_AGE = 27 # The apparent age used for the portraits of dead characters who died older than DEAD_PORTRAIT_AGE_THRESHOLD
PORTRAIT_MALE_ADULT_AGE = 18 # The boy -> male portrait change happens at this age
PORTRAIT_FEMALE_ADULT_AGE = 18 # The girl -> female portrait change happens at this age
CUSTOM_HAIR_COLORS_RGB = { # Hair colors available for use in the barber shop
@ -1486,6 +1579,7 @@ NInventory = {
ARTIFACT_DURABILITY_DECAY_STORAGE = 1.0 # yearly decay, unequipped
ARTIFACT_DURABILITY_DECAY_EQUIPPED = 1.0 # yearly decay, equipped to person
ARTIFACT_DURABILITY_DECAY_DISPLAY = 0.0 # yearly decay, on display in court
ARTIFACT_DURABILITY_DECAY_ENSHRINED = 0.0 # yearly decay, enshrined in a holy site (disabled in code too)
ARTIFACT_HOUSE_CLAIM_YEARS = 50 # Number of years a house member must hold an artifact before a house artifact claim is generated
ARTIFACT_COLOR_COMMON = { 0.745 0.458 0.192 0.8 }
ARTIFACT_COLOR_MASTERWORK = { 0.184 0.615 0.027 0.8 }
@ -1759,6 +1853,9 @@ NAdministrative = {
AI_MAX_AGE_FOR_APPOINTMENT = 50 # AI won't support candidates above this age for new appointments
AI_MAX_TITLES_FOR_APPOINTMENT = 10 # This many titles are considered for new appointment support per attempt. Randomized each time
AI_MAX_NEW_HOUSE_MEMBERS_FOR_APPOINTMENT = 30 # This many new house mmebers are considered for new appointment support per attempt. Randomized each time
AI_APPOINTMENT_REALM_SIZE_SCALEDOWN_START = 150 # Above this top-liege realm_size, AI appointment/candidacy processing is increasingly skipped per attempt (CPU scaledown for huge realms)
AI_APPOINTMENT_REALM_SIZE_SCALEDOWN_FULL = 600 # At/above this top-liege realm_size, AI appointment/candidacy processing is skipped at the maximum rate
AI_APPOINTMENT_MAX_SKIP_PERMILLE = 900 # Maximum chance (per 1000) to skip an AI appointment/candidacy attempt in the largest realms
BASE_REASSIGN_COST = 150 # Base value used in the scripted cost for reassigning title troops
DISCOUNTED_THRESHOLD_FACTOR = 0.9 # If the final reassign cost <= BASE_REASSIGN_COST * DISCOUNTED_THRESHOLD_FACTOR, we consider the title "discounted"