Ritual mod

Started by Konik007, July 26, 2023, 04:17:51 PM

Previous topic - Next topic

Konik007

I added my ritual based on execution, added "PreceptDef", "RitualPatternDef", "RitualBehaviorOf", "DutyDiff", "RitualOutcomeEffectDef" for this ritual.
But the problem is that I can't change the logic of "RitualOutcomeEffectDef", its <workerClass> isn't even created.
I don't understand where the logic is processed.
I think the "RitualOutcomeEffectWorker" class is used without the ability to inherit it.
That is I can't add "RitualOutcomeEffectWorker_NewEffect" class, it just won't be used, respectively, I can't change the logic of "RitualOutcomeEffectDef" either.

Does anyone know how to work around this problem?
I want to change the logic and add something else instead of changing the mood.

___
Sorry for my bad English.