mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Fix BabyHalfAge for races with one lifestage
This commit is contained in:
parent
e377f01a7d
commit
2872d42f67
5 changed files with 8 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -67,12 +67,12 @@ namespace RJW_Menstruation
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
float res = parent.pawn.RaceProps.lifeStageAges.ElementAtOrDefault(1).minAge / 2;
|
float res;
|
||||||
if (res == default)
|
List<LifeStageAge> ages = parent.pawn.RaceProps.lifeStageAges;
|
||||||
{
|
if (ages.NullOrEmpty() || ages.Count == 1)
|
||||||
if (Configurations.Debug) Log.Warning($"Could not find end age of baby lifestage for {parent.pawn}'s race");
|
|
||||||
res = 1.2f / 2; // Default to human
|
res = 1.2f / 2; // Default to human
|
||||||
}
|
else res = ages[1].minAge / 2;
|
||||||
|
|
||||||
if (RJWPregnancySettings.phantasy_pregnancy)
|
if (RJWPregnancySettings.phantasy_pregnancy)
|
||||||
res /= GenDate.DaysPerYear;
|
res /= GenDate.DaysPerYear;
|
||||||
return res;
|
return res;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
Version 1.0.6.3
|
||||||
|
- Fix pawn generation for races with a single lifestage.
|
||||||
|
|
||||||
Version 1.0.6.2
|
Version 1.0.6.2
|
||||||
- Fix error/crash when a pawn in estrus (with hookup override enabled) looks for partners.
|
- Fix error/crash when a pawn in estrus (with hookup override enabled) looks for partners.
|
||||||
- Teratophiles get the "I came inside" mood buff for ugly partners instead of pretty ones.
|
- Teratophiles get the "I came inside" mood buff for ugly partners instead of pretty ones.
|
||||||
|
|
Loading…
Reference in a new issue