RimWorld

RimWorld

Custom Ritual Framework
Showing 21-30 of 37 entries
< 1  2  3  4 >
Update: 11 Aug, 2021 @ 2:24pm

- RitualObligationTargetWorker_AnyRitualSpotOrAltar_Extra and RitualTargetFilter_IdeoBuilding_Extra available with TargetFilter_ModExtension modextension to specify additional candidates for a ritual (you must also add the RitualFocus building tag to anything you want to use to hold a ritual)
- Fixed cooldown Gizmo

Update: 10 Aug, 2021 @ 10:49am

[Auto-generated text]: Update on 8/10/2021 1:49:26 PM.

Update: 10 Aug, 2021 @ 6:36am

- We renamed the Mod and the inner workings to be more generic towards what we're trying to achieve. The new name is "Custom Ritual Framework". This might break your custom rituals, please refer to the examples to see what needs to be corrected!

Update: 10 Aug, 2021 @ 5:57am

- New RItualObligationTrigger, RitualObligationTrigger_Event. Properties are eventDefName and removeAfterTicks. eventDefName is the defName of the Incident you want the ritual to trigger an obligation on, and removeAfterTicks is how long it should be active if the ritual is not held

Update: 9 Aug, 2021 @ 8:09am

-hediffToAdd and hediffToRemove are now lists. I apologize as this will break currently implemented custom rituals all over the place, but it should make things better in the long run.

Update: 8 Aug, 2021 @ 2:23pm

- New BehaviorWorker: RitualBehaviorWorker_Speech_Custom. You can use this as the BehaviorWorker for a Speech that is not held by the Leader. Be careful when adding rituals and roles though - there currently isn't a warning for adding a ritual that expects a role that you don't have defined
- New Modextension on PreceptDef (for use with Precept_Rituals): Precept_Ritual_Custom. Its only field is an int, coolDownDays. You can use this on your custom-defined ritual to override the 20 day cooldown. The gizmo for the ritual currently won't show the correct actual remaining time before the quality penalty clears, but the tooltip does.
- Changed the Ideoligious Service ritual to a 7 day cooldown.
- Various changes to inheritance for the Ideoligious Service and CureDisease rituals, along with some more comments explaining why

Update: 6 Aug, 2021 @ 5:04pm

- you can now specify a severity offset for a hediff you're adding
- you can now specify a body part for a hediff you're adding
- there is a new flag, forEachPawn. This applies the nodes in the list of nodes (that are direct children of the current node) once for each pawn in the appliesTo list. (Which is all of them if the list isn't provided, as usual.) If combined with the randomFromNode flag, it will have the effect of selecting one for each pawn and if the node has anything to apply to a pawn - hediff, thought, abiity, etc - it will apply it to the pawn selected.
- there is a new attachable outcome to showcase this called "random buff per pawn"

Update: 5 Aug, 2021 @ 9:01pm

- Nin found a bug in non-attachable Ritual outcomes. They weren't always syncing up with the reported positivity. It turned out that I was regenerating and overwriting those for the outcome effect. Whoops. They now only use one outcome generation. :)

Update: 3 Aug, 2021 @ 10:12am

- hediff removal now actually works
- you can now give pawns thoughts
- you can now give pawns inspirations
- you can now create custom non-attachable outcomes for custom rituals (new ritual, Cure Disease, is provided as an example, but it only cures Flu and Plague)
- XML comments updated

Update: 2 Aug, 2021 @ 2:59pm

- added some support for modifying RitualOutcomeEffects (In addition to RitualAttachableOutcomeEffects) but still needs further testing. Basically you just add the same modExtension fields to your RitualOutcomeEffect def that you would to the RitualAttachableOutcomeEffect
- added a sample custom ritual, the Ideoligious Service. The XML file for it is in Defs, alled Custom_Ritual_Example, and is commented to describe what all needs to be defined