erdelf / AlienRaces

Rimworld mod alien race framework
MIT License
103 stars 69 forks source link

More child backstory functionality #88

Closed divineDerivative closed 1 year ago

divineDerivative commented 1 year ago

The recent addition of backstory filters for children is missing a few features to fully replicate the vanilla functionality. This change adds a newborn filter, changes the child backstory in addition to the adult backstory when a child becomes an adult, and gives a child backstory to pawns that spawn as children.

IsPlayerColonyChildBackstoryHelper could probably be done as a simple prefix, but would require a list of all possible childBackstoryFilter to compare to, and I wasn't sure if/how you would want to implement that.