mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Use the builtin BestOutcome for the childbirth ritual instead of searching our own.
This commit is contained in:
parent
da9903aaf9
commit
21e471ebf3
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ namespace RJW_Menstruation
|
||||||
if (ModsConfig.BiotechActive)
|
if (ModsConfig.BiotechActive)
|
||||||
{
|
{
|
||||||
// Ugly, but it'll have to do
|
// Ugly, but it'll have to do
|
||||||
OutcomeChance bestOutcome = RitualOutcomeEffectDefOf.ChildBirth.outcomeChances.Find(chance => chance.positivityIndex == 1);
|
OutcomeChance bestOutcome = RitualOutcomeEffectDefOf.ChildBirth.BestOutcome;
|
||||||
|
|
||||||
string label = bestOutcome.label;
|
string label = bestOutcome.label;
|
||||||
string description = bestOutcome.description.Formatted(mother.Named("MOTHER"));
|
string description = bestOutcome.description.Formatted(mother.Named("MOTHER"));
|
||||||
|
|
Loading…
Reference in a new issue