Commit graph

855 commits

Author SHA1 Message Date
Naz
65e0713ac4 Merge branch 'main' into 'main'
Korean Translation

See merge request lutepickle/rjw_menstruation!3
2024-03-20 13:25:18 +00:00
lutepickle
daeefe8218 Merge branch 'dev' 2024-03-17 16:33:09 -07:00
lutepickle
e3647caf2a Build dll, change Rimworld reference in 1.4 to NuGet 2024-03-17 16:32:41 -07:00
lutepickle
9a6efaf37d Have pheromones apply in caravans 2024-03-13 10:07:25 -07:00
lutepickle
cca7676bc0 Have ovulation and implant chance cache be nullable 2024-03-13 08:10:50 -07:00
lutepickle
ba8801370f Have TotalFertCum account for destroyed pawns and animals 2024-03-13 08:03:02 -07:00
lutepickle
c393ab45c0 Build 2024-03-11 16:48:26 -07:00
lutepickle
f580d3232b Have breeder pawns boost implant chance for non-Biotech 2024-03-05 19:14:28 -08:00
lutepickle
e964b2af93 Failsafe in the dialog window if a biotech pregnancy somehow gets a null mother (theoretically possible on implant error) 2024-03-05 16:01:33 -08:00
lutepickle
6e56664d41 Switch TickIntervalMinimum to being based on the named constant 2024-03-05 15:46:36 -08:00
lutepickle
4e88184f9b Add graphics to genes by Alpenglow 2024-03-05 09:06:02 -08:00
lutepickle
06ccb04a55 Clean up a bunch of unnecessary using statements 2024-03-04 18:25:44 -08:00
lutepickle
8bea56b65a Fix miscapitalization in CycleDisabledGenes.xml 2024-03-02 10:21:21 -08:00
lutepickle
c6e4d81a20 Don't fertilize from destroyed pawns 2024-02-28 19:48:52 -08:00
lutepickle
1cdb12fd3a Replace some uses of Rand.Range with Utility.VariationRange 2024-02-27 21:56:59 -08:00
lutepickle
7e407a1cf9 Don't call Notify_UpdatedGenes if the gene isn't menstruation-related 2024-02-27 14:58:20 -08:00
lutepickle
32800a3499 Null check for apparel tracker in DirtyEffect 2024-02-22 22:09:12 -08:00
lutepickle
ff95b8da39 It's safe and a bit quicker to unconditionally remove forced in CheckDirty 2024-02-17 15:37:14 -08:00
lutepickle
8306439576 Refactor allraces and allkinds 2024-02-16 22:03:03 -08:00
lutepickle
ebb486179b Reformat RandomOvulationChance 2024-02-16 20:47:59 -08:00
lutepickle
f79050483d Remove the originsize system. Nobody used it 2024-02-16 20:24:10 -08:00
lutepickle
d483e22ac2 Little cleanup 2024-02-16 16:55:53 -08:00
lutepickle
7e5b2000da Mark the Conit fork of Birds & Bees as incompatible 2024-02-16 13:52:46 -08:00
lutepickle
836d3d69c8 Let CalculatedImpactChance return early to avoid unnecessarily hitting OvulationChance 2024-02-12 22:19:10 -08:00
lutepickle
50310988ca Be sure the periodic can go into anestrus if it initializes into ovulatory 2024-02-11 10:47:01 -08:00
lutepickle
82dea0f425 Always attempt to ovulate at least one egg 2024-02-11 07:30:25 -08:00
lutepickle
bd39194fd1 Add Outland - Genetics' egglaying genes to the no cycle list 2024-02-11 06:43:56 -08:00
lutepickle
56b11069da Little refactor in GetBabyInfo and GetFatherInfo 2024-02-10 10:11:24 -08:00
lutepickle
02b0045fb3 Some input sanitization for the egg life span and ovulation genes 2024-02-08 21:33:39 -08:00
lutepickle
fcbc19825e Move gene properties and cycle disabled genes to ModExtensions 2024-02-08 20:30:49 -08:00
lutepickle
7b00579969 Exclude Erin's Covyia egg genes from cycling 2024-02-08 16:00:13 -08:00
lutepickle
cb8267bf0f Let a pawn be randomly initialized into their ovulatory stage 2024-02-04 19:49:20 -08:00
lutepickle
2dda753ab9 Be sure CheckDirty updates the stats if the old absorber had stats and the new doesn't 2024-02-04 17:07:10 -08:00
lutepickle
51c23f5aba Merge branch 'dev' 2024-01-27 05:50:11 -08:00
lutepickle
d34509dfc9 Fix CheckDirty having an inverted lock test 2024-01-27 05:49:50 -08:00
lutepickle
9902c50d81 Don't let egglaying animals menstruate. 2024-01-22 11:12:49 -08:00
lutepickle
a29aaf50c1 Just let everyone use the menstruation genes 2024-01-20 14:51:20 -08:00
lutepickle
d74d488d6e Reset the ovulation power cache when genes change 2024-01-12 05:21:24 -08:00
lutepickle
8e9acaa8ca Little refactor in ShouldCycle 2024-01-09 10:26:28 -08:00
lutepickle
8e6c38045c Small refactor in ShouldCycle 2024-01-08 16:32:05 -08:00
lutepickle
9e671b4a24 Move average litter size to its own function. Have the biosculptor account for average litter size 2024-01-08 14:23:03 -08:00
lutepickle
23ae342722 Merge branch 'dev' 2024-01-08 13:55:51 -08:00
lutepickle
546d121cde Redo the quirk API to make the rest of the code a bit cleaner 2024-01-08 08:13:52 -08:00
lutepickle
40b23fc9c9 Do a bit of housekeeping when an absorber goes dirty 2024-01-01 19:59:40 -08:00
lutepickle
f410f6bc0f Don't let pawns without a cycle wear absorbers 2024-01-01 07:35:52 -08:00
lutepickle
a9879b0b1b Remove force wear from absorbers when they become dirty 2024-01-01 07:08:29 -08:00
lutepickle
1a8189d9af Fix passive absorption not making absorbers dirty. Add absorbed amount to detailed description. Move passive absorption rate to XML 2023-12-26 16:02:49 -08:00
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