Commit graph

475 commits

Author SHA1 Message Date
lutepickle
4fc1d6b4ab Refactor the impregnation patch postfix to use MaxByWithFallback, too 2022-08-21 20:57:52 -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
5eb73bfb2e Have the two pregnancy progress functions return 0 on no pregnancy instead of -1 2022-08-21 20:21:42 -07:00
lutepickle
0b272c1e5b Don't end mech pregnancies on removal 2022-08-21 12:26:17 -07:00
lutepickle
5e788df794 Just eliminate GetHARComp instead of messing with casting 2022-08-18 08:41:05 -07:00
lutepickle
1cbe557621 Add the breast error thing to the changelog, too 2022-08-18 07:53:39 -07:00
lutepickle
6592c3b073 Update changelog, bump manifest version to 1.0.7.2 2022-08-18 06:50:01 -07:00
lutepickle
973e83c8f1 Change GetHARComp to return a ThingComp, since using a type that might not be loaded will cause an error upon trying to open the dev actions 2022-08-18 06:46:34 -07:00
lutepickle
08e3a2fd51 Remove a bit of namespace from CumOut 2022-08-17 15:55:28 -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
177f941d93 Leading slashes in patch XMLs 2022-08-16 18:48:34 -07:00
lutepickle
fbc73f82c9 Add the XML header to the top of the cum tale, apparently some mods care. 2022-08-16 06:44:58 -07:00
lutepickle
4d4d778ca3 Rebuild 2022-08-15 18:40:16 -07:00
lutepickle
962684a53b Update manifest to 1.0.7.1 2022-08-15 18:33:47 -07:00
lutepickle
4ecd9a0c9d Add the loadafter rjw cum in the manifest xml,too 2022-08-15 18:32:21 -07:00
lutepickle
51da20e6b3 Protect enzygoticSiblings for good practice 2022-08-14 20:27:54 -07:00
lutepickle
f19a788432 Properly update nippleProgress when it should grow 2022-08-12 16:06:34 -07:00
lutepickle
99844086db Put the due date in the debug womb overlay when pregnant 2022-08-12 10:03:04 -07:00
lutepickle
610bffeaa7 Fix pregnancy progress in the womb gizmo again. Also have an undiscovered pregnancy look like a steady luteal progress. 2022-08-12 10:02:07 -07:00
lutepickle
f63a66efd0 Properly set the current interval hours on pregnancies. Again. 2022-08-12 08:48:21 -07:00
lutepickle
d1ceebb4e7 Fix HAR compatibility, copy all HAR properties for enzygotic siblings. 2022-08-11 18:43:12 -07:00
lutepickle
624ae1ce75 Make the enzygotic data structure exist before trying to add babies to it 2022-08-11 16:05:49 -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
9ce08ceab8 Slight refactor of RandomStage, be a bit cleaner 2022-08-11 09:20:29 -07:00
lutepickle
8e5487b3ba Re-add AfterSimulator to CompPostTick 2022-08-10 14:47:10 -07:00
lutepickle
592fcad088 Change OvaryPowerThreshold to better handle very long cycles. Also have climacteric severity use an InverseLerp. 2022-08-09 21:07:43 -07:00
lutepickle
f19494fd5a Shift the fertility check above the switch in compPostTick 2022-08-09 07:02:55 -07:00
lutepickle
a77988fd99 Update changelog 2022-08-08 08:18:04 -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
7dcab74af5 Add loadAfter for rjw.cum 2022-08-08 07:39:19 -07:00
lutepickle
31cea0daaf Let the debug messages be clickable 2022-08-05 08:58:16 -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
814d500b45 Flip the if in PostBirth 2022-07-30 18:31:35 -07:00
lutepickle
c5d8a92299 Update changelog 2022-07-30 15:08:45 -07:00
lutepickle
3362a1f0ca Sexperience had a bug where an optimizer/patcher could cause the static contructor of the dialog to be called before the GUI was ready. Just to be safe, delay the GUI calls until the first time the dialog is opened here, too. 2022-07-30 09:29:56 -07:00
lutepickle
3f739a12d9 Null reference check for pregnancy gizmos. It would come up in multiwomb scenarios 2022-07-30 07:53: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
c30aef672a Lower max PermanentNippleChange 2022-07-29 07:30:15 -07:00
lutepickle
814f1c085e Fix configuration 2022-07-28 21:58:23 -07:00
lutepickle
105c4df01f Rewrite nipple system to a simpler version 2022-07-28 21:06:51 -07:00
lutepickle
df1455ece2 Refactor AddNewBaby a bit so enzygotic twins get registered for babies without a story. And a smidge more tolerant of null pawn generation 2022-07-27 21:09:46 -07:00
lutepickle
dab0913032 Rename again to enzygoticSiblings for consistency with the configuration option 2022-07-27 18:37:01 -07:00
lutepickle
b6169227e7 Null check the right thing in CopyBodyPartProperties 2022-07-27 14:42:53 -07:00
lutepickle
9b0363aec2 Slightly more efficient comp copier for menstruation and breast 2022-07-27 14:41:17 -07:00
lutepickle
3cca6db53e Copy comp.EffSize after all. Some submod might use it 2022-07-27 14:39:19 -07:00
lutepickle
dbebba0d45 Rename zygotes to monozygoticSiblings 2022-07-27 14:35:36 -07:00
lutepickle
5b6093fd86 Rename ProcessIdenticalZygote to ProcessIdenticalSibling 2022-07-27 14:32:50 -07:00
lutepickle
aab02f07fb Copy RJW parts across enzygotic siblings at birth 2022-07-27 11:49:57 -07:00