Commit graph

  • 31cea0daaf Let the debug messages be clickable lutepickle 2022-08-05 08:58:16 -07:00
  • 7c98a49ee3 Let CompExposeData load the base values properly when they're already extant lutepickle 2022-07-31 06:07:57 -07:00
  • 814d500b45 Flip the if in PostBirth lutepickle 2022-07-30 18:31:35 -07:00
  • c5d8a92299 Update changelog lutepickle 2022-07-30 15:08:45 -07:00
  • 3362a1f0ca Sexperience had a bug where an optimizer/patcher could cause the static contructor of the dialog to be called before the GUI was ready. Just to be safe, delay the GUI calls until the first time the dialog is opened here, too. lutepickle 2022-07-30 08:55:21 -07:00
  • 3f739a12d9 Null reference check for pregnancy gizmos. It would come up in multiwomb scenarios lutepickle 2022-07-30 07:47:38 -07:00
  • e18e1892ad Don't let BabyHalfAge be 0 lutepickle 2022-07-29 21:02:39 -07:00
  • 6701785462 Little refactor in CalculateLastBirth lutepickle 2022-07-29 20:35:49 -07:00
  • 4b6b4c87ee Remove maxaerolaincrement, the realistic amount is just too small for the display lutepickle 2022-07-29 09:15:23 -07:00
  • c30aef672a Lower max PermanentNippleChange lutepickle 2022-07-29 07:30:15 -07:00
  • 814f1c085e Fix configuration lutepickle 2022-07-28 21:57:38 -07:00
  • 105c4df01f Rewrite nipple system to a simpler version lutepickle 2022-07-28 21:06:51 -07:00
  • df1455ece2 Refactor AddNewBaby a bit so enzygotic twins get registered for babies without a story. And a smidge more tolerant of null pawn generation lutepickle 2022-07-27 21:09:46 -07:00
  • dab0913032 Rename again to enzygoticSiblings for consistency with the configuration option lutepickle 2022-07-27 15:47:11 -07:00
  • b6169227e7 Null check the right thing in CopyBodyPartProperties lutepickle 2022-07-27 14:42:53 -07:00
  • 9b0363aec2 Slightly more efficient comp copier for menstruation and breast lutepickle 2022-07-27 14:41:17 -07:00
  • 3cca6db53e Copy comp.EffSize after all. Some submod might use it lutepickle 2022-07-27 14:39:19 -07:00
  • dbebba0d45 Rename zygotes to monozygoticSiblings lutepickle 2022-07-27 14:35:36 -07:00
  • 5b6093fd86 Rename ProcessIdenticalZygote to ProcessIdenticalSibling lutepickle 2022-07-27 14:32:50 -07:00
  • aab02f07fb Copy RJW parts across enzygotic siblings at birth lutepickle 2022-07-27 11:49:57 -07:00
  • ff7a06af99 Ovulate based off of the pawn's def instead of their raceprops lutepickle 2022-07-26 21:16:36 -07:00
  • 42df92c786 Merge branch 'dev' 1.0.7.0 lutepickle 2022-07-26 17:32:31 -07:00
  • 8937126f0f Update changelogs lutepickle 2022-07-26 17:32:02 -07:00
  • 6fd0d764a9 Disable sexperience module, since there's no way I can see to enable it for sexperience plus cum lutepickle 2022-07-26 17:24:25 -07:00
  • fdc4dd4612 Add dependency on cum to sexperience module lutepickle 2022-07-26 17:23:12 -07:00
  • 073043bb05 Remove sex ability from womb gizmo, at least for now. lutepickle 2022-07-26 16:04:52 -07:00
  • 3b0dade1bc Merge 1.0.7.0 lutepickle 2022-07-26 07:41:42 -07:00
  • 7f49257879 Update manifest for 1.0.7.0 lutepickle 2022-07-26 05:54:18 -07:00
  • e4b4badfad Merge 1.0.7.0 lutepickle 2022-07-26 05:52:56 -07:00
  • ff039e3065 Have get_Pregnancy test to see if the pawn has the hediff. Won't happen for MultiplePregnancy, but the base pregnancy and the nonstandard ones will. Mostly useful for the window between a pregnancy ending and the last PregnantAction firing. lutepickle 2022-07-25 11:45:18 -07:00
  • 0f61f0f260 Update changelog lutepickle 2022-07-25 11:14:29 -07:00
  • 1f74ab9286 Have Miscarry remove the comp's pregnancy first, otherwise there's a possible infinite loop lutepickle 2022-07-25 10:08:08 -07:00
  • 0e04c7660b Put the "comp missing" message in doimpregnate behind the debug setting. lutepickle 2022-07-25 06:28:19 -07:00
  • fdd1bb682a Adjust the spacing in the womb dialog to put the fert/implant chance back where it was lutepickle 2022-07-23 20:50:57 -07:00
  • 62f37dcac8 Revert "Originvagsize is unused and took up save file space, so get rid of it" lutepickle 2022-07-23 19:59:23 -07:00
  • 0de63e3bed Remove earned money by whore from pawn stat since RJW 5.0.0 removes whoring lutepickle 2022-07-23 19:44:20 -07:00
  • b0578469d1 Switch to using RJW's vagina def instead of searching ourselves lutepickle 2022-07-23 19:43:33 -07:00
  • 20c18c2904 Rimworld already has TaleDefOf.GaveBirth, so just use that one lutepickle 2022-07-23 15:49:33 -07:00
  • 68793ff811 Have the postbirth patch use VariousDefOf.AllVaginas lutepickle 2022-07-22 09:32:32 -07:00
  • 2407b52e3b Only show the "tick scheduler removed" messages when debug is enabled lutepickle 2022-07-22 08:50:45 -07:00
  • d8fcb15f39 Originvagsize is unused and took up save file space, so get rid of it lutepickle 2022-07-21 23:12:32 -07:00
  • 52b0c3ab95 Let the pregnancy detector in the initialization pick up multiple pregnancies, just in case lutepickle 2022-07-21 19:18:48 -07:00
  • 3f3977b3c7 Probably can't happen, but add a check in GiveBirth for null menstruation comp lutepickle 2022-07-20 12:43:35 -07:00
  • d0210c23bf Add an explanation to the CompPostPostRemoved check, as well as refactor the checks a bit lutepickle 2022-07-20 10:25:57 -07:00
  • 947c61c8a2 Rimworld doesn't permit direct-adding a sibling relation, so remove all that code lutepickle 2022-07-20 10:00:17 -07:00
  • 54e41b7aa4 (Re-)work around a bug in RJW (and potentially any number of other mods) that causes CompPostPostRemoved to be called on the wrong pawn. lutepickle 2022-07-20 09:56:04 -07:00
  • 1125930869 Make AllVaginas less hardcoded lutepickle 2022-07-20 07:23:36 -07:00
  • 57998a3895 Add tale for coming inside lutepickle 2022-07-19 18:03:58 -07:00
  • 2f5bf19ea6 Record the GaveBirth tale when a human is born lutepickle 2022-07-18 08:05:00 -07:00
  • 8b93398466 Replace usages of System.Random with RW's Rand lutepickle 2022-07-18 07:05:39 -07:00
  • 697b837a4d Move GetRacesPawnKind to Utility lutepickle 2022-07-18 07:00:15 -07:00
  • 76c2a67390 Properly generate babies with mismatched pawn def and pawnkind lutepickle 2022-07-17 22:55:28 -07:00
  • f89bdaad46 Remove warning in PregnantAction. That scenario can occur after an egg or mechanoid pregnancy lutepickle 2022-07-17 15:56:47 -07:00
  • 660b26f35a Rename VariousDefOf.Vagina/VaginaCompProperties (used in the config screen) to HumanVagina for clarity lutepickle 2022-07-16 14:52:51 -07:00
  • b0b7ffba50 Associate the post-birth vagina morph with the one that was pregnant lutepickle 2022-07-16 14:50:01 -07:00
  • 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