Compare commits

...

2 Commits

Author SHA1 Message Date
lutepickle be05766fba Switch away from obsolete chemical effect function 2024-04-11 10:25:25 -07:00
lutepickle eb1fccc90b Re-enable support for HAR 2024-04-11 10:18:51 -07:00
5 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@ -276,8 +276,8 @@ namespace RJW_Menstruation
GetSettings<Configurations>(); GetSettings<Configurations>();
if (!ModsConfig.BiotechActive && Configurations.PregnancySource == Configurations.PregnancyType.Biotech) if (!ModsConfig.BiotechActive && Configurations.PregnancySource == Configurations.PregnancyType.Biotech)
Configurations.PregnancySource = Configurations.PregnancyType.MultiplePregnancy; Configurations.PregnancySource = Configurations.PregnancyType.MultiplePregnancy;
// Disabled until those mods are updated for 1.5 Configurations.HARActivated = ModsConfig.IsActive("erdelf.HumanoidAlienRaces");
//Configurations.HARActivated = ModsConfig.IsActive("erdelf.HumanoidAlienRaces"); // Disabled until it is updated for 1.5
//Configurations.AnimalGeneticsActivated = ModsConfig.IsActive("Mlie.AnimalGenetics"); //Configurations.AnimalGeneticsActivated = ModsConfig.IsActive("Mlie.AnimalGenetics");
} }

View File

@ -9,7 +9,7 @@ namespace RJW_Menstruation
{ {
Hediff hediff = HediffMaker.MakeHediff(hediffDef, pawn); Hediff hediff = HediffMaker.MakeHediff(hediffDef, pawn);
float effect = ((!(severity > 0f)) ? hediffDef.initialSeverity : severity) * ingested.stackCount; float effect = ((!(severity > 0f)) ? hediffDef.initialSeverity : severity) * ingested.stackCount;
AddictionUtility.ModifyChemicalEffectForToleranceAndBodySize(pawn, toleranceChemical, ref effect, multiplyByGeneToleranceFactors); AddictionUtility.ModifyChemicalEffectForToleranceAndBodySize_NewTemp(pawn, toleranceChemical, ref effect, multiplyByGeneToleranceFactors);
hediff.Severity = effect; hediff.Severity = effect;
pawn.health.AddHediff(hediff); pawn.health.AddHediff(hediff);
} }

View File

@ -102,7 +102,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="AlienRace"> <Reference Include="AlienRace">
<HintPath>..\..\..\..\..\..\..\..\workshop\content\294100\839005762\1.4\Assemblies\AlienRace.dll</HintPath> <HintPath>..\..\..\..\..\..\..\..\workshop\content\294100\839005762\1.5\Assemblies\AlienRace.dll</HintPath>
<Private>False</Private> <Private>False</Private>
</Reference> </Reference>
<Reference Include="AnimalGenetics"> <Reference Include="AnimalGenetics">

View File

@ -1,6 +1,6 @@
Version 1.5.0.0 Version 1.5.0.0
- Support for RimWorld 1.5. All future changes to Menstruation will only be for RimWorld 1.5. - Support for RimWorld 1.5. All future changes to Menstruation will only be for RimWorld 1.5.
- Not yet compatible with HAR or Animal Genetics. Compatibility will be re-enabled after those mods are updated for RimWorld 1.5. - Not yet compatible with Animal Genetics. Compatibility will be re-enabled after it is updated for RimWorld 1.5.
Version 1.0.9.4 Version 1.0.9.4
- Added graphics for the menstruation genes with thanks to Alpenglow. - Added graphics for the menstruation genes with thanks to Alpenglow.