Commit graph

  • 4f72320696 Add the new AllVaginas to a few more places lutepickle 2022-07-16 14:45:09 -07:00
  • ef115b03fd GetMenstruationComps is used in enough places it's worth a little caching lutepickle 2022-07-16 14:16:39 -07:00
  • 6383823e34 Null check in GetMenstruationComps, probably unnecessary. Also simplify HasMenstruationComp lutepickle 2022-07-16 07:30:34 -07:00
  • 5a64a081c2 Use explicit types instead of var everywhere lutepickle 2022-07-16 07:11:58 -07:00
  • 92fab44764 Simplify a bunch of for loops into functions lutepickle 2022-07-14 18:51:16 -07:00
  • aa81fae8bd Let climacteric re-apply when anestrus goes back into season lutepickle 2022-07-14 18:32:14 -07:00
  • 1a875dba1c Refactor the transition to ovulation, eliminate some code duplication in follicular and bleeding actions between standard and induced ovulation lutepickle 2022-07-14 16:24:59 -07:00
  • 5d98d23541 Add code for girlcum, but leave it disabled for now lutepickle 2022-07-14 15:46:13 -07:00
  • 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. lutepickle 2022-07-13 16:50:06 -07:00
  • 05029858d5 Get the right menstruation comp when impregnating. Also remove CanFertilize, it's too much of a pain lutepickle 2022-07-13 15:40:52 -07:00
  • 28cc9755fd Revert "Bit of a refactor to AddWombGizmos, should be nicer to the Sexperience module" lutepickle 2022-07-13 07:44:12 -07:00
  • 6e841a3836 Slight simplification of SetEstrus lutepickle 2022-07-12 19:31:24 -07:00
  • 2b8d822542 For multiple vaginas, concealed estrus won't occur if in visible estrus, and visible estrus will cancel concealed estrus lutepickle 2022-07-12 19:09:19 -07:00
  • 1907820265 Whole bunch of code cleanup, mostly using and whitespace lutepickle 2022-07-12 15:49:55 -07:00
  • f5170ca700 Merge the two pregnancy-preventing conditions into one if lutepickle 2022-07-12 15:32:31 -07:00
  • 8babac6378 Change argument name of GetMenstruationComp(vagina) for clarity lutepickle 2022-07-12 14:47:42 -07:00
  • 35b875980a Little refactor of GetMenstruationComp(pregnancy) again lutepickle 2022-07-12 14:46:39 -07:00
  • 6143fb41fb Implant at the right time for vaginas with odd luteal intervals lutepickle 2022-07-12 14:23:10 -07:00
  • ea7b8e03ee Slight refactor of GetFertileMenstruationComp lutepickle 2022-07-11 19:39:41 -07:00
  • 931b974bf9 Have GetMenstruationComp(pregnancy) null test lutepickle 2022-07-11 19:05:21 -07:00
  • 70346a0901 Remove availableWomb from CanFertilize. It's only used for fetishes, and it won't be DangerDay if they're all pregnant lutepickle 2022-07-11 18:30:59 -07:00
  • c0043d2936 Support for multiple concurrent pregnancies lutepickle 2022-07-11 18:23:08 -07:00
  • 768f000c5d Rebuild lutepickle 2022-07-11 12:56:04 -07:00
  • 68f8124d6b Update changelog lutepickle 2022-07-11 12:55:55 -07:00
  • 3d34ed1e53 Bit of a refactor to AddWombGizmos, should be nicer to the Sexperience module lutepickle 2022-07-11 12:55:39 -07:00
  • 699c91106f Support for multiple vaginas lutepickle 2022-07-11 11:52:27 -07:00
  • 20692aaf13 Undo the CompPostPostRemoved checks, if nothing else to see what bug made them be added in the first place lutepickle 2022-07-11 09:03:20 -07:00
  • 902cd65375 Tiny refactor to adding stacked eggs to ovulation lutepickle 2022-07-11 08:40:40 -07:00
  • 6ec27b6aba Cut down on some indentation, remove whitespace here and there lutepickle 2022-07-11 08:21:42 -07:00
  • f585499871 Move RandomVariabilityPercent to MenstruationUtility lutepickle 2022-07-11 07:33:42 -07:00
  • afc04d2fa5 Replace a bunch of "is null" with "== null" lutepickle 2022-07-11 07:27:23 -07:00
  • 1133255b0a Rearrange LutealAction to let the stage end with fertilized eggs lutepickle 2022-07-10 08:05:08 -07:00
  • 9f66a3ea52 Missing elses in Follicular actions lutepickle 2022-07-08 18:43:13 -07:00
  • 96c81c70bf Use Max for the avglittersize lutepickle 2022-07-08 18:35:47 -07:00
  • 096f941762 Account for bleeding when calculating induced ovulator ovary power, for all zero of them that bleed lutepickle 2022-07-08 14:51:24 -07:00
  • 58b2e4983c Apply cycle speed properly to ovary power by age lutepickle 2022-07-08 12:10:52 -07:00
  • f612e0df24 Properly apply cycleSpeed to PeriodRandomizer lutepickle 2022-07-08 10:28:21 -07:00
  • 98f0580577 Remove old PeriodRandomizer lutepickle 2022-07-08 10:17:02 -07:00
  • 4dbfe6c1d5 Correct comment on CumIn, remove stray semicolon lutepickle 2022-07-08 09:30:55 -07:00
  • 02194fe941 Remove Stage_Fertilized translations lutepickle 2022-07-08 09:28:37 -07:00
  • 862696eef1 Make the recursion limiter on RandomVariabilityPercent return the proper value lutepickle 2022-07-07 19:09:06 -07:00
  • 6a8b023289 Add save compatibility warning to changelog lutepickle 2022-07-07 18:50:38 -07:00
  • e9735b0d9b Update changelog lutepickle 2022-07-07 18:37:05 -07:00
  • 5abfa07638 Make the 'sperm lifespan' tip account for drainage, too. Also add a "10 ml" tip for fertilization chance lutepickle 2022-07-07 18:09:04 -07:00
  • 9459899ed6 Fix dumb XML error lutepickle 2022-07-07 17:51:25 -07:00
  • ba11cf867c Build lutepickle 2022-07-07 17:34:08 -07:00
  • b2e26f2f1b New ovary power calculation for all vaginas. While at it, remove old deviation factor since it's obsolete, too. lutepickle 2022-07-07 16:17:12 -07:00
  • eade57bd9e Update default values lutepickle 2022-07-07 12:37:12 -07:00
  • a90d6bf343 Implement exponential fertilization chance lutepickle 2022-07-07 12:23:45 -07:00
  • 8a048ea7e5 Cum fertility overhaul. Now track volume and fertility percentage instead of fertvolume. lutepickle 2022-07-07 12:14:47 -07:00
  • 24e7f93bcc Cumming inside someone with an IUD adds the full volume. lutepickle 2022-07-07 12:00:46 -07:00
  • c7a2f0c55d Make not-cum not fertilize lutepickle 2022-07-07 11:26:33 -07:00
  • c5dfbe9d65 Merge branch 'dev' of https://gitgud.io/lutepickle/rjw_menstruation into dev lutepickle 2022-07-07 11:27:51 -07:00
  • 4e3fa05af9 Make not-cum not fertilize lutepickle 2022-07-07 11:26:33 -07:00
  • 4fc2837ff5 Make not-cum not fertilize lutepickle 2022-07-07 11:26:33 -07:00
  • 66acecbef4 Rebuild lutepickle 2022-07-07 11:26:44 -07:00
  • 264bb9452b Make not-cum not fertilize lutepickle 2022-07-07 11:26:33 -07:00
  • 16bb69372c Revert "Remove unused Egg() constructor" Rimworld might be using it after all lutepickle 2022-07-07 11:15:07 -07:00
  • 258f68a88d Some checks for initializing the currentIntervalHours. Also fix the capitalization lutepickle 2022-07-07 11:13:09 -07:00
  • 07221e01a8 Fix stage hours in GetEggIcon lutepickle 2022-07-07 11:09:42 -07:00
  • 5c1fb93613 Proper check for the new speed/variability on init lutepickle 2022-07-07 10:57:30 -07:00
  • 4737641673 Refactor the climacteric stage functions into the normal stage functions lutepickle 2022-07-07 10:50:49 -07:00
  • 9cc8897103 Initial implementation of new variance code lutepickle 2022-07-07 10:28:53 -07:00
  • 9c9e120b92 Remove unused Egg() constructor lutepickle 2022-07-07 07:58:05 -07:00
  • 805b7afa81 FertilizationCheck doesn't need to return anything lutepickle 2022-07-07 07:55:33 -07:00
  • 60a842fd2b Eggs implant at half luteal or 30 days, whichever comes first. lutepickle 2022-07-07 07:52:43 -07:00
  • a1250f4141 Fix 'folicularIntervalDays' typo lutepickle 2022-07-07 07:30:16 -07:00
  • 93218a8aa1 Use a weighted random when determining the stage of a new pawn lutepickle 2022-07-07 07:26:53 -07:00
  • 983e112edd Fertilized eggs never decay lutepickle 2022-07-07 07:01:20 -07:00
  • 5e164b74df Remove obsolete RJW_Sire/RJW_Pup relations lutepickle 2022-07-07 06:55:44 -07:00
  • b6bef2206e Remove obsolete Stage.Fertilized lutepickle 2022-07-07 06:51:39 -07:00
  • 25aa9df0cf Merge 1.0.6.6 1.0.6.6 lutepickle 2022-07-06 06:44:12 -07:00
  • c9a27f0935 Update manifest for 1.0.6.6 lutepickle 2022-07-06 06:43:00 -07:00
  • 96269087f6 Merge branch 'dev' of https://gitgud.io/lutepickle/rjw_menstruation into dev lutepickle 2022-07-02 07:56:12 -07:00
  • 75fe253911 Give animal children the standard mother/father relations instead of the old RJW_Sire/RJW_Pup ones lutepickle 2022-07-02 07:51:23 -07:00
  • d186afa8ba Give animal children the standard mother/father relations instead of the old RJW_Sire/RJW_Pup ones lutepickle 2022-07-02 07:51:23 -07:00
  • b7a911000e Rename PawnGCPass_Patch to AccumulatePawnGCData_Patch lutepickle 2022-07-02 07:30:27 -07:00
  • f503deb09e Have a pawn that becomes fertile go into anestrus if they're out of season. lutepickle 2022-06-25 20:07:23 -07:00
  • 14174396b0 Increase ovipostor semen to make up for the lowered fert chance lutepickle 2022-06-25 11:15:54 -07:00
  • 3ac49afade Make the initial fertilization graphic based on the configured acceleration lutepickle 2022-06-21 23:11:59 -07:00
  • f021316869 Don't show the implanted egg icon when it's a mechanoid pregnancy lutepickle 2022-06-21 21:00:37 -07:00
  • fcea8dc0a2 Update changelog lutepickle 2022-06-19 17:51:41 -07:00
  • 6283baa778 Make the IsNull checks in the hybrid extensions return true if thingDefName really is null. Also add another null check when searching for a hybrid. lutepickle 2022-06-19 17:09:04 -07:00
  • 204fe0ecc7 Fix null fertilizer when an egg tries to implant lutepickle 2022-06-16 17:57:52 -07:00
  • 1ef735f328 Migrate Harmony dependency to NuGet lutepickle 2022-06-16 16:59:34 -07:00
  • 31d6fce892 Remove unused parameter in DrawHediffRow_Patch lutepickle 2022-06-08 06:37:04 -07:00
  • 56691171b4 Implement random tick timing lutepickle 2022-06-05 08:32:52 -07:00
  • 2367091ede Merge 1.0.6.5 1.0.6.5 lutepickle 2022-06-05 07:48:17 -07:00
  • d039dca628 Update manifest for 1.0.6.5 lutepickle 2022-06-05 07:47:01 -07:00
  • 617ed4bfe0 Make menstruation tickinterval a const lutepickle 2022-06-05 06:22:54 -07:00
  • 0e3915517e Update changelog lutepickle 2022-06-04 22:17:31 -07:00
  • f1fcbf13c1 Handle a null pawn's cum in fertilization lutepickle 2022-06-04 21:42:59 -07:00
  • 156dfc5f3e One less magic number lutepickle 2022-06-04 18:09:34 -07:00
  • 4ebf45aeb8 Make fertilization add to the pawn's record again lutepickle 2022-06-03 23:08:55 -07:00
  • b5b9002930 Make the pregnant breast growth start/end a const instead of a magic number lutepickle 2022-06-03 20:22:32 -07:00
  • 961e7f7b73 Better anti-prune algo. Also won't prune pawns with sperm/egg in a player faction/prisoner womb lutepickle 2022-06-03 12:02:44 -07:00
  • b814412eb0 Don't prune pawns with sperm or a fertilized egg in a colonist's womb lutepickle 2022-06-03 11:04:39 -07:00
  • 5e818ab879 Make IsInEstrus into a Pawn extension lutepickle 2022-06-03 08:55:48 -07:00
  • 9d83860d55 Have the first fertilized graphic go off of just the CycleFactor lutepickle 2022-06-03 07:57:48 -07:00
  • 7c505728de Move gather cum gizmo text to this project to account for sexperience removing it lutepickle 2022-06-02 12:36:54 -07:00