RimWorld
Custom Ritual Framework
Mostrando 31-37 de 37 aportaciones
< 1  2  3  >
Actualización: 1 AGO 2021 a las 21:19

- the Harmony prefix that allows us the magic of having effects on bad/terrible outcomes broke rituals that don't have attachable effects. Better null check added to escape that function if it's not applicable. (Even though I thought I had checked everything needed)

Actualización: 1 AGO 2021 a las 15:20

- fixed an issue attaching a ritual with onlyPositiveOutcomes set to true to a ritual on creation. You now have to define the flag in the modextensions. The solution feels like a hack but it works.
- guess I should also note that IntRanges are available on the baseAmount and amountPerPawn fields for item spawns
- and also that you should be able to define lettertext and a letterlabel for any node
- and I shouldn't forget that you can provide a weight into a node for being selected by randomFromNode

Actualización: 1 AGO 2021 a las 11:03

- now supports specifying outcomes that should only be run on given positivityIndex results (i.e. worst, bad, good, best outcomes)

Actualización: 1 AGO 2021 a las 7:18

- now supports adding an ability to a pawn
- applyTo rules let you specify which ritual role gets a hediff or ability you specify
- there is a flag for a random applyTo to apply an ability or hediff to a random pawn selected from the list of possible targets specified with applyTo
- you can now provide a list of sub nodes to an outcome so that you can add multiple hediffs/abilities to pawns with different roles, or spawn two different groups of items
- you can add a flag to have the outcome choose a random node from a provided list of subnodes (this lets you, for example, have it randomly either give a hediff or spawn items)
- the subnodes are nestable, everything you can do with them is not going to be an exhaustive list
- commented the XML a bit so you can hopefully start to make some sense of how to use the framework

Actualización: 31 JUL 2021 a las 15:25

Support added for adding a hediff only to a list of specified roles, everyone BUT a list of specified roles, and to a random pawn (that is already in the list of valid candidates)

Actualización: 31 JUL 2021 a las 7:35

Now lets you specify separate outcomes for good and great. This can be done in a combination so you can have an effect only if the ritual is great, or an effect for good and an effect for great, or the same effect for both.

Unfortunately the attachable outcomes only trigger when you get at least good, so having effects on a bad outcome isn't possible without extending the system beyond attachableEffects.

Added a sample that has a separate event for good and great: Gambler's Prayer

Actualización: 30 JUL 2021 a las 15:33

[Auto-generated text]: Initial upload.