Commit graph

303 commits

Author SHA1 Message Date
lutepickle
ffee2e8149 Have GetMenstruationComp(Hediff) use AllVaginas 2022-09-03 18:42:38 -07:00
lutepickle
49f52891fe Use a switch in HighestEstrus 2022-09-03 18:12:29 -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
eda71f70a8 Handle cum with null DNA.ingestionOutcomeDoers 2022-09-03 15:39:14 -07:00
lutepickle
50c79e00bf Show cum in the womb gizmo when insect egged 2022-09-03 07:46:37 -07:00
lutepickle
985bc40574 Remove unused breastcache 2022-09-03 06:50:10 -07:00
lutepickle
71b7a8f035 Get the proper insect egg icon for the gizmo. 2022-09-03 06:17:06 -07:00
lutepickle
5c8fe83399 One less magic number in OvaryPowerThreshold 2022-09-02 11:53:00 -07:00
lutepickle
afe603058e Tiny refactor to a few gets 2022-09-02 08:30:24 -07:00
lutepickle
1f6f50a361 After recovery, go straight into anestrus if out of breeding season 2022-08-31 20:22:28 -07:00
lutepickle
1b10200953 Properly calculate the birth recovery time 2022-08-31 20:07:42 -07:00
lutepickle
9841aa145d Null check pregnancy in PregnantAction 2022-08-31 15:17:48 -07:00
lutepickle
cddbb8313b A bit more nipple change after milking 2022-08-31 09:13:04 -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
e0855fdf24 Simulate pawns in caravans and pods 2022-08-30 22:21:41 -07:00
lutepickle
257a20797c Display unfertilized eggs properly 2022-08-30 20:50:42 -07:00
lutepickle
c1d3f356f2 Try to account for number of children for induced eggs used 2022-08-30 20:43:05 -07:00
lutepickle
bdfbcf1edf Make induced ovulator egg count based on potential pregnancies. 2022-08-30 20:07:21 -07:00
lutepickle
8d4d7e93c3 Only do the pregnancy rechecks after a mech implant or insect egging 2022-08-30 15:22:36 -07:00
lutepickle
3ca018b0b6 Some mods have a null compClass, so catch that in allVaginas. 2022-08-29 21:38:33 -07:00
lutepickle
5908935260 Use GoNextStage in TakeLoosePregnancy 2022-08-29 16:47:32 -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
acfee52dd8 Split ShouldSimulate into its own function 2022-08-29 07:23:17 -07:00
lutepickle
e88e40c2cc Forbid titles for babies to match RJW 2022-08-29 06:47:50 -07:00
lutepickle
b3b34362d6 Just have Hediff_MultiplePregnancy.TryMergeWith unconditionally return false. The comp comparison doesn't work since at that point it's not registered to a comp yet. 2022-08-27 23:05:50 -07:00
lutepickle
84d5ffa8b7 Little cleanups and removal of unnecessary checks 2022-08-27 22:01:39 -07:00
lutepickle
66e2b3494b Have the implanation debug messages give the hediff IDs 2022-08-27 20:52:36 -07:00
lutepickle
f015b2e849 Don't merge a pregnancy with other pregnancies. 2022-08-27 19:49:23 -07:00
lutepickle
c6f08d7601 Catch a womb with pregnancy set and not in the phase, which can happen when futzing with the debug actions. 2022-08-27 12:43:10 -07:00
lutepickle
6344338ee2 Check for null pregnancy before trying to miscarry it on postpostremoved 2022-08-27 12:13:44 -07:00
lutepickle
89248897f0 Have the debug due date work off of the tile 2022-08-27 11:53:55 -07:00
lutepickle
c62b87ff8b Have the induced pre-ovulation check for no condom 2022-08-27 11:02:32 -07:00
lutepickle
0518a3f40c Add wider variety of insect egg graphics 2022-08-27 11:01:26 -07:00
lutepickle
d88a71bd61 Show the pre-ovulation graphic on induced ovulators during sex. 2022-08-27 08:04:39 -07:00
lutepickle
71e6a2dd5c Little simplification in cumout 2022-08-27 06:50:51 -07:00
lutepickle
1126d8f3e5 Have IsFertilized pick up the egg farthest along 2022-08-27 06:35:29 -07:00
lutepickle
3fb3d21420 Compare comps for womb gizmo duplication instead 2022-08-24 18:39:47 -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
b9ffcc0dc5 Handle cycles for unspawned pawns 2022-08-23 08:17:41 -07:00
lutepickle
d9dc79f107 Dead pawns don't get hediff ticks 2022-08-23 08:08:25 -07:00
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
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
51da20e6b3 Protect enzygoticSiblings for good practice 2022-08-14 20:27:54 -07:00