Commit graph

801 commits

Author SHA1 Message Date
lutepickle
0dd3507010 Simplify CalculatedImplantChance a little 2023-12-05 16:32:48 -08:00
lutepickle
3498caf3a2 Let <= 0 age fertility stay in the patches 2023-12-05 16:23:23 -08:00
lutepickle
cb8d824a2c Simplify the too young/old check in the ovulation calculation a little 2023-12-05 16:20:36 -08:00
lutepickle
8cc72acf36 Just delete the milk module instead of trying to make it build with the new milkable colonists mod 2023-12-05 16:11:14 -08:00
lutepickle
c254ce039a Do the age adjustment for ovulation in FertilityByGenderAge instead of trying to patch RJW's StatWorker 2023-12-05 16:08:55 -08:00
lutepickle
02a96b957a Refactor EggLayerGenes a little 2023-12-04 12:14:18 -08:00
lutepickle
32ba7bcef8 Add sapling birth from VE Phytokin to the egg laying genes list 2023-12-04 11:51:09 -08:00
lutepickle
dc33024d42 Move the hash interval to the start of CompPostTick, since ShouldSimulate is getting heavy 2023-12-04 11:44:45 -08:00
lutepickle
0e708c6c89 Have the womb status button patched into the health tab instead of the hediff row. Modified version of code contributed by Fern. 2023-12-01 19:39:20 -08:00
lutepickle
c12f9dbc87 Don't cycle for egglaying genes (Alpha Genes and VE Saurid) 2023-11-29 09:10:19 -08:00
lutepickle
cb5522b0c3 Add interspecies factor to implantation failure debug message 2023-11-11 21:20:31 -08:00
lutepickle
68c4081f11 Have PregnantAction use get_Pregnancy instead since the same logic is in there 2023-10-29 20:45:29 -07:00
lutepickle
d0eb2e8383 Move the stage time advancement into its own function 2023-10-29 18:11:51 -07:00
lutepickle
a6afe494d8 Add an implanted egg to deadeggs even if getting the comp fails 2023-10-29 16:23:01 -07:00
lutepickle
a8af20d024 Make Implant adding to biotech pregnancy use the casted Hediff_Pregnant 2023-10-29 16:21:27 -07:00
lutepickle
95bdf4ca73 Don't reset the timer on periodic ovulators until it's breeding season 2023-10-28 21:30:55 -07:00
lutepickle
b07d12b8f8 Remove StayCurrentStage and StayCurrentStageConst, as they don't do anything anymore 2023-10-28 20:09:59 -07:00
lutepickle
0a24b5556f Refactor InfertileAction 2023-10-28 17:19:09 -07:00
lutepickle
441ee1de48 Refactor GoNextStage to directly take a stage time 2023-10-28 10:43:23 -07:00
lutepickle
f2a599ab08 Fix typos in function names 2023-10-27 06:56:27 -07:00
lutepickle
db42fa0234 Optimize Notify_UpdatedGenes 2023-10-26 23:01:38 -07:00
lutepickle
89ecbcd5aa Properly put a space between the follicular description and the climacteric description for induced ovulators 2023-10-26 16:32:28 -07:00
lutepickle
9be4bc8e54 Tidy up VariousDefOf.HumanVaginaCompProperties 2023-10-26 15:49:05 -07:00
lutepickle
e8710149e5 Refactor the egg removing logic to make it a bit clearer 2023-10-23 09:57:52 -07:00
lutepickle
9a19dc3c25 Update changelog 2023-10-22 16:40:00 -07:00
lutepickle
1ce69571f0 Refactor adding eggs to existing pregnancy, fix implanting eggs in a non-biotech pregnancy when set to biotech (e.g. animals) 2023-10-22 16:37:50 -07:00
lutepickle
d5043c0b62 Update Traditional Chinese by Hydrogen 2023-10-15 19:09:55 -07:00
lutepickle
1fcfb6f41d Enable absorbers in the default outfits 2023-10-15 09:54:06 -07:00
lutepickle
5f97bd1433 Replace most instances of rjw part hediff lists with a simple check against the AllVaginas, etc lists 2023-10-11 08:21:47 -07:00
lutepickle
f08ff58b64 Split animal cycle check into generic ShouldCycle function, exclude egglaying races from cycling 2023-10-11 08:06:31 -07:00
lutepickle
ebf0db8ae6 Only show the button in the health tab for genitals, as opening the dialog for non-genital wombs causes errors. 2023-09-29 21:11:22 -07:00
lutepickle
4212fbab7b Be sure to specify pawn on pheromone exception 2023-09-15 18:37:23 -07:00
lutepickle
d5f2954aed Clarify ImplantChance: it's before the implant configuration setting 2023-09-06 12:16:43 -07:00
lutepickle
9cd87dda27 Refactor InducedOvulator.ShouldBeInEstrus 2023-09-05 11:56:07 -07:00
lutepickle
76eec3852a Use explicit types in a few places 2023-09-05 10:46:24 -07:00
lutepickle
1c29218fdb More clear changelog entry 2023-09-01 19:39:10 -07:00
lutepickle
8cdb00a8c2 Only give the littersizecurve ovulation warning once per pawn 2023-08-19 18:26:54 -07:00
lutepickle
690e61916c Ensure that bleeding ends right away if the pawn gains the no bleeding gene 2023-08-19 18:24:05 -07:00
lutepickle
aa84a2b8bc Revert "More descriptive error on race support incorrectly installed"
Apparently it goes off even if race support is installed right

This reverts commit 2737a680fa.
2023-08-16 19:39:07 -07:00
lutepickle
2737a680fa More descriptive error on race support incorrectly installed 2023-08-16 19:34:35 -07:00
lutepickle
3692238c00 No bleed gene should have negative metabolism 2023-08-14 11:15:14 -07:00
lutepickle
caccc36fbf Remove redundant debug check 2023-08-10 20:22:32 -07:00
lutepickle
2c2b5a1ee2 Remove unnecessary "?? null" from GetFather 2023-08-10 18:48:56 -07:00
lutepickle
990774606c Compact the transpiler type checks a bit 2023-08-08 08:06:45 -07:00
lutepickle
9cdb887bdd If implant errors, see if there's a loose pregnancy to take. 2023-07-31 05:44:18 -07:00
lutepickle
0c38513084 Eliminate egg if there is an error implanting it. 2023-07-29 14:42:46 -07:00
lutepickle
f0c971eba0 Rebuild 2023-07-28 17:28:43 -07:00
lutepickle
214ab3ae88 Have the default constructor for eggs use the human lifespan 2023-07-28 09:50:13 -07:00
lutepickle
eb0d40ea1a Check for null pawn cum when merging cum 2023-07-27 14:44:14 -07:00
lutepickle
2350cf7355 Let a pawn precum into themself if it's otherwise valid 2023-07-27 14:42:45 -07:00