Stellaris

Stellaris

Not enough ratings
Dux' Crisis Custodian
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
148.587 KB
9 Jun, 2024 @ 9:10am
21 Jul @ 6:29am
16 Change Notes ( view )

Subscribe to download
Dux' Crisis Custodian

Description
This mod lets you become the Crisis and the Custodian.
It does not allow Wilderness Empires to take Nemesis or Cosmogenesis.

It adds a new resolution for Crisis Empires to become the Custodian, which can only be proposed by an empire with a Crisis Perk.
If you become the Custodian first through the vanilla resolution then you can take a Crisis Perk.
Having a Crisis Perk no longer prevents you from taking Defender of the Galaxy.

For modders:
Changes to ap_defender_of_the_galaxy, ap_become_the_crisis, ap_cosmogenesis, and ap_behemoths.
Changes to has_been_declared_crisis.
Changes to crisis_level_5, crisis_behemoth_level_5.
Overwrite 00_opinion_modifiers_nemesis.txt (only way to overwrite triggered opinion modifiers).

Additions:
  • You may now select the severity of crisis opinion-penalties.
  • You may make crisis opinion-penalties decay under certain conditions.

Combos well with my other mod:

Dux' Purging Enigmatically
Popular Discussions View All (1)
1
9 Jun, 2024 @ 10:18am
PINNED: Oddities and Errors
Duxatious
49 Comments
Duxatious  [author] 21 Jul @ 1:40am 
Now it's a matter of setting the timeframe for the opinion-decay. The timeframe can be set any time before the relation-flags are set, which is currently done on the monthly tick after the country discovers you're a crisis. I'm thinking of giving the player a few options for how long it takes to decay at game-start. Options may include 10% every month (debugging), every year (easy), five years (medium), 10 years (long game), or 25 years (turns out forgiveness flows slowly when you're destroying the galaxy).
Duxatious  [author] 21 Jul @ 1:40am 
Good news, the framework for triggered_opinion decay is now built, using relation-flags to allow decay to occur between specific countries. Two crisis empires will have separate opinion decay, which should hold up in multiplayer.

The decay currently comes in increments of 10% with a placeholder time of 10 years. Your triggered crisis opinion will disappear 100 years after the witnessing-country learns of your status as a crisis. In order to know you are a crisis (and for the opinion to decay) a country must have communications with you, and either you are a level 5 crisis or they have level 2 intel on your government.
J Rockit 11 Jul @ 3:56pm 
Thanks for the time and effort :steamthumbsup: looking forward to future version(s).
Duxatious  [author] 11 Jul @ 11:03am 
There should no longer be triggered opinion penalty duplication. I'm currently building a system to decrease a triggered opinion penalty in a way that mimics decay and disables the triggered opinion penalty when it reaches 0 or inverts.
Duxatious  [author] 8 Jul @ 12:50pm 
Okay the solution to replacing a triggered opinion modifier is to replaced the entire file containing the original. This makes the mod more likely to cause conflicts with mods that modify the same file, but it does mean there can only be one of each triggered opinion modifier.
Duxatious  [author] 8 Jul @ 12:39pm 
@J Rockit, Okay it seems that the vanilla version isn't being overwritten by the version added by this mod, causing it to duplicate — likely something to do with the way triggered opinion modifiers work. The version handled by this mod still accepts the Crisis Opinion Reduction from this mod. As for how to stop the duplication, I'm currently browsing bug reports and wiki pages to understand how this might be happening when both triggered opinion modifiers share the same id. This same bug isn't happening for regular opinion modifiers such as fallen_wannabe.

The reason it fails to decay is due to it being a triggered opinion modifier and they don't decay (there are no examples of this in-game or in the code). I'm looking into adding decay to the triggered opinion modifier through a yearly event incrementing a variable which would gradually reduce the triggered opinion modifier down to zero, then removing it.
J Rockit 7 Jul @ 1:05pm 
For me, decay is not happening at all and indeed I am receiving a SECOND opinion malus which is the exact same as current crisis level i.e (Cosmogenesis -200, -200).
Duxatious  [author] 6 Jul @ 1:15am 
@SMN665 Yes, but beware leaving a Fallen Cosmogenesis Empire behind as the Custodian as they can be quite difficult to unseat if you choose to continue playing after winning.
SMN665 6 Jul @ 1:13am 
So I can finally: Galactic Cosmogenisis Custodian? :0
Duxatious  [author] 5 Jul @ 11:08pm 
@Aniki I believe it should be, though it would depend on the stage of the game you're in. It won't reverse Glacom Declaring you a Crisis if it has already happened, but it will allow a sitting Custodian or Emperor to become the Crisis. I would recommend backing up your savegame just in case, especially if you're playing with any other mods.