Commit graph

152 commits

Author SHA1 Message Date
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
lutepickle
92fab44764 Simplify a bunch of for loops into functions 2022-07-14 19:12:28 -07:00
lutepickle
1a875dba1c Refactor the transition to ovulation, eliminate some code duplication in follicular and bleeding actions between standard and induced ovulation 2022-07-14 16:24:59 -07:00
lutepickle
5d98d23541 Add code for girlcum, but leave it disabled for now 2022-07-14 15:46:13 -07:00
lutepickle
08c6c28c81 In the context of menstruation, CanImpregnate is called to see if the cum being added is fertile. In RJW, already being pregnant is enough to block a new one, but in menstruation it's fine if fertile cum enters a pregnant womb, or if cum goes into a different womb than the pregnant one. So never have a pawn with a womb be considered pregnant for those checks.
The other times that CanImpregnate is called is for the fetish, but that's already checked against DangerDay.

Also add some more null checks for the transpilers.
2022-07-13 16:50:06 -07:00
lutepickle
05029858d5 Get the right menstruation comp when impregnating. Also remove CanFertilize, it's too much of a pain 2022-07-13 15:44:26 -07:00
lutepickle
28cc9755fd Revert "Bit of a refactor to AddWombGizmos, should be nicer to the Sexperience module"
This reverts commit 3d34ed1e53.
2022-07-13 07:44:47 -07:00
lutepickle
2b8d822542 For multiple vaginas, concealed estrus won't occur if in visible estrus, and visible estrus will cancel concealed estrus 2022-07-12 19:09:19 -07:00
lutepickle
6143fb41fb Implant at the right time for vaginas with odd luteal intervals 2022-07-12 14:43:19 -07:00
lutepickle
70346a0901 Remove availableWomb from CanFertilize. It's only used for fetishes, and it won't be DangerDay if they're all pregnant 2022-07-11 18:30:59 -07:00
lutepickle
c0043d2936 Support for multiple concurrent pregnancies 2022-07-11 18:23:08 -07:00
lutepickle
768f000c5d Rebuild 2022-07-11 12:56:04 -07:00
lutepickle
699c91106f Support for multiple vaginas 2022-07-11 11:52:27 -07:00
lutepickle
1133255b0a Rearrange LutealAction to let the stage end with fertilized eggs 2022-07-10 08:05:08 -07:00
lutepickle
9f66a3ea52 Missing elses in Follicular actions 2022-07-08 18:43:13 -07:00
lutepickle
96c81c70bf Use Max for the avglittersize 2022-07-08 18:35:47 -07:00