Crusader Kings III

Crusader Kings III

Less Sinful Priest Scandals - No More Fervour Collapse
140 Comments
NorscanWarlord 19 Mar @ 3:20am 
He's not coming back it seems, something must have happened :(
Lyzore 13 Nov, 2024 @ 5:35pm 
bro said ill be back next week, one year ago
PhazezGova 11 Jan, 2024 @ 10:49am 
██╗░░░██╗██████╗░██████╗░░█████╗░████████╗███████╗
██║░░░██║██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝██╔════╝
██║░░░██║██████╔╝██║░░██║███████║░░░██║░░░█████╗░░
██║░░░██║██╔═══╝░██║░░██║██╔══██║░░░██║░░░██╔══╝░░
╚██████╔╝██║░░░░░██████╔╝██║░░██║░░░██║░░░███████╗
░╚═════╝░╚═╝░░░░░╚═════╝░╚═╝░░╚═╝░░░╚═╝░░░╚══════╝
Kaepbora 8 Jan, 2024 @ 8:14am 
Updated this mod to latest patch:
Morven's Mods Compatch
Romder 11 Dec, 2023 @ 2:15pm 
We'll remember you Morven
Muse 14 Oct, 2023 @ 4:55pm 
Was this also fixed in vanilla, like the carolingian borders decision?
JurgenNW 12 Sep, 2023 @ 4:19pm 
It still seems to work maybe cause it only affects the negative traits of priests? so a small tweak.
Bruce Wayne 26 Aug, 2023 @ 12:41pm 
RIP --- DEAD MOD --- RIP
💀Kralazar Mallus💀 21 Jul, 2023 @ 9:57am 
Morven is dead?
Sagoda 24 Jun, 2023 @ 1:26pm 
Miss you Morven!
frederick 8 Jun, 2023 @ 12:16pm 
Any day now...
Morven  [author] 18 May, 2023 @ 12:12pm 
I'll be back to update all the mods next week.
Virrey 17 May, 2023 @ 11:59pm 
It needs to be updated to new code standards, but it's very minor you can even do it yourself.
Kami 12 May, 2023 @ 3:27pm 
is this compatible with 1.9 without update?
Morven  [author] 17 Feb, 2023 @ 11:04am 
v2.13
Updated for v1.8.*. No changes.
Ri'Zakar 6 Jan, 2023 @ 8:56am 
Should still be compatible
luis3007 22 Dec, 2022 @ 11:45am 
Does it work with 1.8.x?
FunGaming44 22 Sep, 2022 @ 3:22pm 
@Morven if you got time can you please look the topic i created here, could really use your help again with a piece of code
Morven  [author] 9 Sep, 2022 @ 7:21pm 
v2.12
Updated for v1.7. Still no functional changes to the mechanism in vanilla; sinful priest scandals will still cause an average loss of -155 fervour per century for large faiths.
wangxuanfrank 31 Aug, 2022 @ 6:25am 
Vanilla is actually historically accurate, though bad game play.
Royal Raven 12 Jul, 2022 @ 6:17pm 
Because your core mods try to handle the Fervour mechanic and make it worth while in some way.
Royal Raven 12 Jul, 2022 @ 6:15pm 
Reading all this, sounds like PDX did not think Fervour mechanic all the way through. Or it sounded good on paper but once they put it in the game, it did not work the way as intended and now they are stuck on what to do with it, lol.
Morven  [author] 9 Jul, 2022 @ 12:28am 
But mate don't let my cynicism discourage you from doing your own sinful priest mod, I'm just relaying my own position as to why I'm content to leave it as a nerf mod at the moment. Perhaps once fervour gets overhauled I'll do my own overhaul of the event along the lines of what you're suggesting.
Morven  [author] 8 Jul, 2022 @ 8:32pm 
There is some weighting in vanilla as to which priest gets chosen at random by the event. They get -50 for each virtue, and +50 for each vice, as determined by their faith, and if don't have has_strong_religious_conviction_trigger (i.e. not zealous, pilgrim, devoted, sayyid etc.) they get another +25.
Morven  [author] 8 Jul, 2022 @ 8:22pm 
The intent of the mod back in 2020 was to nerf its deleterious effect on fervour in the gameworld. There were several mods nerfing the event at the time, each in slightly different ways, but all with the purpose of stopping it from causing fervour collapse in large faiths, and some also the corresponding fervour inflation in small faiths. It was very frustrating to have no control over a mechanic that would drive your faiths fervour into the ground with sidebar and pop-up messages every 5 years.

Since then the stop-gap solution from Paradox has been to obfuscate the mechanism by removing the sidebar message, and making notification of the event in your faith appear only in a tool-tip log when you hover over the fervour value. That way you only suffer the consequences of railroaded fervour collapse, but you're not annoyed at knowing why it is happening because the event has become hidden to the player.
Morven  [author] 8 Jul, 2022 @ 8:15pm 
There is no randomisation or weighting of which sinful trait is the one the event will choose the priest as having committed. It's an ordered progression that checks the same traits one-by-one and stops at the first trait in the event progression that satisfies the requirements.
Morven  [author] 8 Jul, 2022 @ 8:12pm 
The event then proceeds down an ordered list of traits, checking if the trait is a sin in the faith and if the priest possesses it, and assigns the first sinful trait it hits in the list to be the description of the event. Because lustful is at the top of the list, if they are lustful, and lustful is a sin in the faith, the event will always be a lustful sin committed.

Note it only checks ordinary traits, not crimes or secrets or lifestyle traits. It doesn't check for cannibalism, witchcraft, marriage consanguinity, drunkenness, rakishness, sexuality etc.
Morven  [author] 8 Jul, 2022 @ 8:11pm 
The vanilla event doesn't interact with the secrets system at all. Each faith triggers the event once every ~5 years. Depending on the faith size, it then decides whether it will be 'sinful priest exposed' or 'virtuous priest exalted', large faiths have an 8-to-1 weighting to get sinful priest, small faiths the reverse. Then a random priest is found to be the subject of the event, the only vanilla requirement is they have one sinful trait, the only weightings are the priests realm size, whether they share the players culture, are the court chaplin, and some minor others.
Morven  [author] 8 Jul, 2022 @ 7:27pm 
So to rewrite the event is really to redesign and overhaul the fervour mechanic. Over time I did end up doing that with Fervour Inversion and Fervour Midpoint Rebalance, together with Less Sinful Priest Scandals. Sinews of War have also done it within a large overhaul mod. Others may have too, but its more than just rewriting an event, you are taking of the task of redesigning a fundamental game mechanism that touches on lots of other mechanisms, like heresy, crusade activation and thresholds, conversion speed and chance, etc.
Morven  [author] 8 Jul, 2022 @ 7:27pm 
In vanilla it's not just a flavour event amongst other flavour events. In vanilla sinful priest scandals and the mirrored virtuous priest exalted are the primary mechanism by which fervour is balanced in the game world. Small faiths gain an average of ~+155 fervour per century, large faiths lose an average of ~-155 fervour per century. The railroading of this event is the reason why in vanilla Catholic fervour is so low, and almost every other faith sticks to 100.
TurtleShroom 8 Jul, 2022 @ 8:04am 
Rewriting one Event is hardly rewriting the game.
TurtleShroom 8 Jul, 2022 @ 8:02am 
Huh. I thought the game would search for Secrets and then out one, or choose characters who would be predispositioned to do wrong.
Morven  [author] 7 Jul, 2022 @ 5:55pm 
The problem for me is this. No priest as a character commits a sin. A sin occurs in the gameworld every five years for each faith, then a priest is found to be the sin-committer.
Morven  [author] 7 Jul, 2022 @ 5:36pm 
I think you could simulate something close to a character driven MTTH event via character on_actions with a random delay, e.g. run an on_action each year for each character weighted by their traits that either does nothing or triggers an event, like sinful priest or heresy, to fire at a random date within the year, like:
trigger_event = {
ID = sinful_priest/heresy/any_character_event
days = { 1 365 }
}

But at some point the prospective modder needs to run a check on himself as to how enthusiastic he is to rewrite the big companies games :bad_beauty:
Morven  [author] 7 Jul, 2022 @ 5:27pm 
The heresy event is the same, it's not the character traits or faults of the character that trigger them becoming heretics by decreasing their MTTH or triggering an event where their choice to apostatise is weighted by their traits, the game triggers the event, then it finds characters at random (weighted only by their tier and number of titles), to be the patsies of the event.
Morven  [author] 7 Jul, 2022 @ 5:26pm 
Yeah it could be done with modifiers to weigh which character is selected. The vanilla event does include some modifiers to weigh which character is selected, mainly based on their tier. A better written event would include the characters moral traits to weigh who is selected.

My point is more that by moving away from a character driven mean time to happen (MTTH) trigger, to a game driven on_action on an X-yearly pulse trigger, it makes the event inherently artificial. The game triggers the event, then it finds a patsy to be the subject of the event. It's not the character's faults driving the triggering of the event, where a more sinful character decreases the MTTH for it to trigger, but the "world soul" of the game descending from on-high like a god in the clouds to puppeteer a character as subject for an event that has already been predetermined by providence to occur.
TurtleShroom 7 Jul, 2022 @ 4:55pm 
[P3]

If found, a new event fires to issue the same punishment as the Vanilla rendition. Every other seedy clergyman can breathe a sigh of relief. It also sets a Global Flag that stops the second On-Action from firing, which removes itself after a few days.

If no extreme vice is uncovered, your Event takes place as you have already written it.

BTW, the reason Paradox didn't make it pass on each particularly sinful character in the Character Scope is because, excluding "Stellaris", CK3 is the first game Paradox didn't make to appeal to some Slavic nationalist's bootleg "Windows XP" toaster. CK3 requires a desktop to run because of its graphics. On-Actions only need to be run once and they can search for one character.
TurtleShroom 7 Jul, 2022 @ 4:51pm 
[P2]

First, the first On-Action needs to be called. It is an entirely new Event.

Then, an entirely new Event Event would begin and search for a clergyman with extreme vices. Based on each religion, it would check for Cannibalism, Close Incest, and Homosexuality. The former two are cause for immediate scandal without additional checks. Break command. I assume, if this works like CK2, that you would use Scopes to check for Precepts and Tenants that apply to each religion.

If none of the former meet the standards, then the latter (sodomy) requires the person to NOT be Chaste AND he has to have a Fornication, Deviancy, or Adultery Secret WHILE practicing a faith that condemns it. (Paradox was stupid enough to think that sodomy is lawful in Abrahamic religions, so include the Vanilla rendition's Christian faiths.) Break command.
TurtleShroom 7 Jul, 2022 @ 4:51pm 
[P1]

Does CK3 Mod making work like CK2? If it does, then I understand how that would make it work. You would need multiple Events. The Vanilla rendition and its On-Action would have to be edited, too. Let's talk about its structure.
Morven  [author] 7 Jul, 2022 @ 3:55pm 
When you understand that, it feels like an empty placeholder mechanic that will be replaced when fervour gets overhauled by a religon DLC/patch, and putting too much thought into it other than nerfing it into a backround flavour event is giving it more than it deserves. In vanilla it's a heavy handed and unorganic railroading mechanic that wasn't given much thought. The mod's here to contain its artificial and negative impact until Paradox sent it to heaven. Fate of Iberia doesn't mention or use fervour once, so I think, thankfully, they are getting ready to kill it off soon.
Morven  [author] 7 Jul, 2022 @ 3:48pm 
How it actually works in CK3 is the game itself, on a ~5 yearly on_action, triggers the event, then *after* triggering the event it finds a random priest to be the subject of the event, after it has already been triggered by the game. So it actually doesn't matter how sinful the priest is (except perhaps in very small faiths with few priests where a strict criteria could exclude all priests), what your actually modding is how appropriate the priest is who the event picks to be the random subject of an event the game itself has already triggered.
Morven  [author] 7 Jul, 2022 @ 3:47pm 
I like the ideas on the particular extreme vices. One issue since writing the mod is a greater understanding of how this event, and most events, are actually triggered in CK3. On game release I was under the assumption that events were triggered by characters (or nations in EU), like in earlier Paradox games, and that the problem was the threshold for a character triggering an event was too low: they weren't sinful enough and therefore the event was being overtriggered by mildly sinful priests.
TurtleShroom 7 Jul, 2022 @ 12:32pm 
Personally, I'd adjust this Mod as follows:

If the priest is something spectacularly evil in the eyes of the religion, like a cannibal or a very closely related incestor, it should bypass the requirements for no virtues and two sins. Some things can't stay hidden. (Obviously, this does not apply to religions where such things are benign or holy.)

Active homosexual sex should bypass the requirements in mainstream Abrahamic religions and any religion that condemns homosexuality as Criminal. (This is to get around one of Paradox's worst and most stupid decisions in the game: homosexuality and adultery are not Criminal in the Abrahamic faiths despite them being explicitly that in RL.)

There should be a Rule deciding if there is no cap or how often it can fire, but the two sins and no virtues rule should be applied.
Morven  [author] 31 May, 2022 @ 5:15pm 
v2.11
Updated for Fate of Iberia v1.6. No changes.

Paradox have not updated or changed the Sinful Priest Mechanic in vanilla in v1.6. Vanilla will still cause an average of -155 fervour loss per century for large faiths through the event on a regular 5 year pulse.
Morven  [author] 13 Apr, 2022 @ 2:28pm 
v2.10
French loc updated thanks to lexo1000.
Korean loc added thanks to doongdori.
lexo1000 1 Apr, 2022 @ 3:06am 
French loc update:

l_french:
rule_fervor_priests:0 "Clergé pécheur"
setting_less_priest_scandals_active:0 "Moins de prêtres pécheurs"
setting_less_priest_scandals_active_desc:0 "Pour désactiver cette règle, retirer le mod "Less Sinful Priest Scandals" depuis le lanceur Paradox."
Morven  [author] 21 Feb, 2022 @ 12:13pm 
v2.9
French loc added thanks to lexo1000.
lexo1000 20 Feb, 2022 @ 12:34pm 
Here is french translation :

l_french:
rule_fervor_priests:0 "Ferveur - Clergé pécheur"
setting_less_priest_scandals_active:0 "Moins de scandales de prêtres pécheurs"
setting_less_priest_scandals_active_desc:0 "Pour désélectionner cette règle, désactivez le mod Less Sinful Priest Scandals dans le lanceur Paradox."
Morven  [author] 14 Feb, 2022 @ 9:27pm 
v2.8
Cleaner loc for the dummy game rule.
Morven  [author] 9 Feb, 2022 @ 12:36am 
Thanks mate