mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Cumeater gene, fertilin craving hediff and thought
hediff and thought are just reflavored hemogen hediffs, in the future could customize them some more
This commit is contained in:
parent
5c0af8a430
commit
49cdc09e5f
22 changed files with 246 additions and 109 deletions
|
@ -48,7 +48,7 @@ namespace RJW_Genes
|
|||
//Applies or renews a hediff which increases sexdrive for 1 hours
|
||||
private void InduceAphrodisiac(Pawn pawn, float sexfrequency)
|
||||
{
|
||||
Hediff hediff = pawn.health.hediffSet.GetFirstHediffOfDef(HediffDefOf.Aphrodisiac_Pheromone);
|
||||
Hediff hediff = pawn.health.hediffSet.GetFirstHediffOfDef(HediffDefOf.rjw_genes_aphrodisiac_pheromone);
|
||||
|
||||
if (hediff != null)
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ namespace RJW_Genes
|
|||
}
|
||||
else
|
||||
{
|
||||
Hediff aphrodisiac = HediffMaker.MakeHediff(HediffDefOf.Aphrodisiac_Pheromone, pawn);
|
||||
Hediff aphrodisiac = HediffMaker.MakeHediff(HediffDefOf.rjw_genes_aphrodisiac_pheromone, pawn);
|
||||
foreach (StatModifier stat in aphrodisiac.CurStage.statFactors)
|
||||
{
|
||||
if (stat.stat.defName == "SexFrequency")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue