Skip to content

Determine life stage ages with developmentalStage - #1

Open
a-certain-existence wants to merge 1 commit into
1trickPwnyta:experimentalfrom
a-certain-existence:life-stage-age-fix
Open

Determine life stage ages with developmentalStage#1
a-certain-existence wants to merge 1 commit into
1trickPwnyta:experimentalfrom
a-certain-existence:life-stage-age-fix

Conversation

@a-certain-existence

@a-certain-existence a-certain-existence commented Jun 28, 2026

Copy link
Copy Markdown

Certain alien races have their own XXX_HumanlikeChild life stage defs instead of the built-in HumanlikeChild, so using HumanlikeChild may not work for those races. This PR proposes to check the developmentalStage field instead, which seems to be more robust.

This PR fixes an System.InvalidOperationException: Sequence contains no matching element exception, which is thrown in Defaults.WorkPriorities.Patch_Pawn.Postfix. This exception can cause failure to show the growth moment dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant