Commit graph

328 commits

Author SHA1 Message Date
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
edf98da01d Remove unnecessary using 2022-09-16 07:46:56 -07:00
lutepickle
34aa9f0c3d Change the egg health modifiers to properties 2022-09-11 16:17:39 -07:00
lutepickle
af82bad406 Rename the TextureCache members to something more sensible 2022-09-11 08:50:15 -07:00
lutepickle
3a8c28ff16 Refactor luteal a smidge, apply cramp pain to seasonal breeders coming into season 2022-09-10 09:06:55 -07:00
lutepickle
a0b2e224bc Format GetCumsInfo's return a little better 2022-09-10 07:51:31 -07:00
lutepickle
f0476d28d3 Fix sexperience module 2022-09-10 06:31:35 -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
0e8c025429 Add div/0 check to AfterSimulator just in case something goes weird and it thinks there are no comps 2022-09-09 09:11:16 -07:00
lutepickle
49db91ca4d Move application of cramp pain to after the switch to bleeding so the duration can be properly calculated 2022-09-09 06:24:58 -07:00
lutepickle
c081e1e9b9 Little refactor to ovulation egging 2022-09-08 16:00:48 -07:00
lutepickle
7f306fb9c7 Make sure that infertile vaginas start at None 2022-09-08 15:59:40 -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
c974de4875 Show bleeding in the womb icon for climacteric 2022-09-06 18:44:19 -07:00
lutepickle
3a7cda2d10 SetEstrus doesn't need a days argument anymore 2022-09-06 16:16:59 -07:00
lutepickle
86210a55d2 Show the climacteric description for induced ovulators 2022-09-06 16:08:54 -07:00
lutepickle
c3ce69ac0a Do the concealed hediff removal in two stages to avoid a collection modification error 2022-09-06 16:08:29 -07:00
lutepickle
17c4863a28 Little optimization in GetFertilizingInfo 2022-09-05 19:18:02 -07:00
lutepickle
1b0c25bc46 Don't show menopause for infertile vaginas (e.g. bionics) 2022-09-05 19:08:43 -07:00
lutepickle
450d7da36c Have the aftersim sexneed incrementer base off the number of vaginas 2022-09-05 17:55:11 -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
7b0fffd39d Add changelog to solution 2022-09-04 22:44:24 -07:00
lutepickle
8cb4fc6b4e Have ShouldBeInEstrus properly multiply the egg lifespan days by 24 2022-09-03 19:13:58 -07:00
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