Commit Graph

39 Commits

Author SHA1 Message Date
lutepickle 96109e7607 Refactor breast CalculateLastBirth 2022-10-05 08:53:24 -07:00
lutepickle 034bf4d75a Keep the breasts full size for a while after a birth again 2022-10-05 07:49:01 -07:00
lutepickle 4bdf7cd6c2 Add recipes for nipple color changes 2022-09-27 17:02:54 -07:00
lutepickle e0855fdf24 Simulate pawns in caravans and pods 2022-08-30 22:21:41 -07:00
lutepickle acfee52dd8 Split ShouldSimulate into its own function 2022-08-29 07:23:17 -07:00
lutepickle c1dc6827fd Replace parent.pawn with Pawn everywhere 2022-08-24 11:05:08 -07:00
lutepickle d9dc79f107 Dead pawns don't get hediff ticks 2022-08-23 08:08:25 -07:00
lutepickle e023938a41 Add new function to test for RJW pregnancy (as opposed to a vanilla animal pregnancy), and refactor GetFarthestPregnancy into the rimworld fallback version 2022-08-21 20:54:27 -07:00
lutepickle d98a102d44 Catch pawns that are pregnant but not with BasePregnancy (e.g. vanilla animal pregnancy) 2022-08-17 06:37:30 -07:00
lutepickle f19a788432 Properly update nippleProgress when it should grow 2022-08-12 16:06:34 -07:00
lutepickle 26ff5f3d6c RJW can move breasts on some animals, and that seems to make the breast comp properties null, so test for that. 2022-08-11 14:31:37 -07:00
lutepickle 85c479a45b Replace hugslib scheduler with CompPostTick. Hopefully this will cut down on phantom menstruation bugs. 2022-08-08 08:07:44 -07:00
lutepickle 7c98a49ee3 Let CompExposeData load the base values properly when they're already extant 2022-07-31 07:05:01 -07:00
lutepickle e18e1892ad Don't let BabyHalfAge be 0 2022-07-29 21:02:39 -07:00
lutepickle 6701785462 Little refactor in CalculateLastBirth 2022-07-29 20:35:49 -07:00
lutepickle 4b6b4c87ee Remove maxaerolaincrement, the realistic amount is just too small for the display 2022-07-29 09:15:23 -07:00
lutepickle 105c4df01f Rewrite nipple system to a simpler version 2022-07-28 21:06:51 -07:00
lutepickle aab02f07fb Copy RJW parts across enzygotic siblings at birth 2022-07-27 11:49:57 -07:00
lutepickle 2407b52e3b Only show the "tick scheduler removed" messages when debug is enabled 2022-07-22 08:50:45 -07:00
lutepickle d0210c23bf Add an explanation to the CompPostPostRemoved check, as well as refactor the checks a bit 2022-07-20 10:27:11 -07:00
lutepickle 54e41b7aa4 (Re-)work around a bug in RJW (and potentially any number of other mods) that causes CompPostPostRemoved to be called on the wrong pawn. 2022-07-20 09:56:04 -07:00
lutepickle 1907820265 Whole bunch of code cleanup, mostly using and whitespace 2022-07-12 15:49:55 -07:00
lutepickle c0043d2936 Support for multiple concurrent pregnancies 2022-07-11 18:23:08 -07:00
lutepickle 699c91106f Support for multiple vaginas 2022-07-11 11:52:27 -07:00
lutepickle 20692aaf13 Undo the CompPostPostRemoved checks, if nothing else to see what bug made them be added in the first place 2022-07-11 09:03:20 -07:00
lutepickle b5b9002930 Make the pregnant breast growth start/end a const instead of a magic number 2022-06-03 20:22:32 -07:00
lutepickle 1a452cb120 Add a check for BabyHalfAge <= 0, just to be sure 2022-05-14 05:23:53 -07:00
lutepickle 2872d42f67 Fix BabyHalfAge for races with one lifestage 2022-05-13 22:01:07 -07:00
lutepickle 91c9f38fd0 More accurate debug text for breast growth 2022-03-15 11:13:08 -07:00
lutepickle 71c6b7aa2c A bit nicer debug breast status on load 2022-03-14 17:48:43 -07:00
lutepickle a5c9ada196 Move growth/shrink debug info into the widget to not clutter the logs 2022-03-14 16:08:48 -07:00
lutepickle 89d6353e16 Make the breast adjustment go off of the mother's biological age 2022-03-13 08:31:50 -07:00
lutepickle e0b8f30e76 Make breast growth handle body size changes 2022-03-12 22:17:18 -08:00
lutepickle 1290d289a8 InverseLerp isn't Lerp. And use floats in the right place this time. 2022-03-12 20:53:17 -08:00
lutepickle ea45789db8 lastBabyBorn is calculated on load anyways, so there's no need to actually save it out 2022-03-12 18:11:45 -08:00
lutepickle e6fdeb837e Initial implementation of redone breast grow/shrink 2022-03-12 17:46:55 -08:00
moreoreganostodump 77cdbb23c8 1.0.5.9 2021-10-16 22:17:39 +09:00
moreoreganostodump c1ac806cb2 1.0.5.4 2021-08-14 00:29:43 +09:00
moreoreganostodump 9e5dcb0392 1.3 2021-07-21 14:10:06 +09:00