Commit graph

167 commits

Author SHA1 Message Date
lutepickle
9e8dcc0540 Moving the Animal Genetics compatibility to conception rather than birth makes it work again, so officially re-enable support. 2022-09-22 22:50:00 -07:00
lutepickle
4f5b9f8068 Update Harmony reference to 2.2.2 2022-09-22 08:54:28 -07:00
lutepickle
87d950eb26 Add compatibility code for Animal Genetics 2022-09-22 08:46:00 -07:00
lutepickle
563bc3c820 Don't do the initialization check for wombs that don't need to simulate yet (e.g. off-map NPCs). 2022-09-21 16:44:10 -07:00
lutepickle
b2da75d9e6 Replace a bunch of string concatenations with stringbuilders 2022-09-10 06:14:48 -07:00
lutepickle
003f5d6d29 Catch attempting to tick uninitialized wombs 2022-09-09 15:01:52 -07:00
lutepickle
7a1df037ac Add eggMultiplier property to vaginas to have more lifetime eggs. Set hydraulic/bionic to 0 and archotech to 4 2022-09-08 09:58:07 -07:00
lutepickle
fe62f2503f Hediff_Estrus.IsVisible doesn't need to be virtual 2022-09-07 09:37:59 -07:00
lutepickle
3512f55363 Make climacteric/menopause per-womb. Obsolete climacteric phases. Add stat parts for those wombs. 2022-09-05 17:44:23 -07:00
lutepickle
8cb4fc6b4e Have ShouldBeInEstrus properly multiply the egg lifespan days by 24 2022-09-03 19:13:58 -07:00
lutepickle
2b5d5443d3 Estrus rework. Properly layer estrus from multiple wombs. Have induced ovulator estrus only last until egg expiration. 2022-09-03 15:40:25 -07:00
lutepickle
71b7a8f035 Get the proper insect egg icon for the gizmo. 2022-09-03 06:17:06 -07:00
lutepickle
1b10200953 Properly calculate the birth recovery time 2022-08-31 20:07:42 -07:00
lutepickle
395c6784b8 Slow down nipple progress during milking, and use the increment factor setting 2022-08-31 08:03:47 -07:00
lutepickle
257a20797c Display unfertilized eggs properly 2022-08-30 20:50:42 -07:00
lutepickle
bdfbcf1edf Make induced ovulator egg count based on potential pregnancies. 2022-08-30 20:07:21 -07:00
lutepickle
3ca018b0b6 Some mods have a null compClass, so catch that in allVaginas. 2022-08-29 21:38:33 -07:00
lutepickle
57df60d62c After impregnation, re-check womb pregnancies in case RJW did something to them 2022-08-29 08:34:38 -07:00
lutepickle
f015b2e849 Don't merge a pregnancy with other pregnancies. 2022-08-27 19:49:23 -07:00
lutepickle
6344338ee2 Check for null pregnancy before trying to miscarry it on postpostremoved 2022-08-27 12:13:44 -07:00
lutepickle
d88a71bd61 Show the pre-ovulation graphic on induced ovulators during sex. 2022-08-27 08:04:39 -07:00
lutepickle
ed682738dc Display multiple gizmos for multiple wombs 2022-08-24 16:23:52 -07:00
lutepickle
c1dc6827fd Replace parent.pawn with Pawn everywhere 2022-08-24 11:05:08 -07:00
lutepickle
0b272c1e5b Don't end mech pregnancies on removal 2022-08-21 12:26:17 -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
4d4d778ca3 Rebuild 2022-08-15 18:40:16 -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
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
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
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
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
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
dab0913032 Rename again to enzygoticSiblings for consistency with the configuration option 2022-07-27 18:37:01 -07:00
lutepickle
aab02f07fb Copy RJW parts across enzygotic siblings at birth 2022-07-27 11:49:57 -07:00
lutepickle
073043bb05 Remove sex ability from womb gizmo, at least for now. 2022-07-26 16:04:52 -07:00
lutepickle
e4b4badfad Merge 1.0.7.0 2022-07-26 05:53:32 -07:00
lutepickle
1f74ab9286 Have Miscarry remove the comp's pregnancy first, otherwise there's a possible infinite loop 2022-07-25 10:08:08 -07:00
lutepickle
0e04c7660b Put the "comp missing" message in doimpregnate behind the debug setting. 2022-07-25 06:28:19 -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
1125930869 Make AllVaginas less hardcoded 2022-07-20 08:37:36 -07:00
lutepickle
ef115b03fd GetMenstruationComps is used in enough places it's worth a little caching 2022-07-16 14:16:39 -07:00