mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Seduced ThoughtDef
This commit is contained in:
parent
ee1625306a
commit
34bb5d3b2c
13 changed files with 25 additions and 91 deletions
Binary file not shown.
|
@ -34,7 +34,7 @@
|
|||
<goodwillImpact>-15</goodwillImpact>
|
||||
</li>
|
||||
<li Class="CompProperties_AbilityFleckOnTarget">
|
||||
<fleckDef>Heart</fleckDef> <!--Will change to kiss when I have a good icon/fleck for it-->.
|
||||
<fleckDef>Heart</fleckDef> <!--Will change to kiss when I have a good icon/fleck for it-->
|
||||
</li>
|
||||
<li Class="RJW_Genes.CompProperties_AbilityLifeForceCost">
|
||||
<fertilinCost>0.05</fertilinCost>
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
<GeneDef>
|
||||
<defName>rjw_genes_vaginal_absorber</defName>
|
||||
<label>Vaginal Fertilin Absorber</label>
|
||||
<description>Carriers of this gene are able to absorb ferilin through their vagina.</description>
|
||||
<description>Carriers of this gene are able to absorb fertilin through their vagina.</description>
|
||||
<iconPath>Things/Mote/Heart</iconPath>
|
||||
<prerequisite>rjw_genes_lifeforce</prerequisite>
|
||||
<displayOrderInCategory>2</displayOrderInCategory>
|
||||
|
@ -154,7 +154,7 @@
|
|||
<GeneDef>
|
||||
<defName>rjw_genes_anal_absorber</defName>
|
||||
<label>Anal Fertilin Absorber</label>
|
||||
<description>Carriers of this gene are able to absorb ferilin through their anus.</description>
|
||||
<description>Carriers of this gene are able to absorb fertilin through their anus.</description>
|
||||
<iconPath>Things/Mote/Heart</iconPath>
|
||||
<prerequisite>rjw_genes_lifeforce</prerequisite>
|
||||
<displayOrderInCategory>3</displayOrderInCategory>
|
||||
|
@ -165,7 +165,7 @@
|
|||
<GeneDef>
|
||||
<defName>rjw_genes_drainer</defName>
|
||||
<label>vitality drainer</label>
|
||||
<description>Carriers of this gene are able to absorb a great amount of ferilin by draining the vitality of the partner.</description>
|
||||
<description>Carriers of this gene are able to absorb a great amount of fertilin by draining the vitality of the partner.</description>
|
||||
<iconPath>Things/Mote/Heart</iconPath>
|
||||
<prerequisite>rjw_genes_lifeforce</prerequisite>
|
||||
<displayOrderInCategory>4</displayOrderInCategory>
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
<label>Aphrodisiac Pheromones</label>
|
||||
<displayCategory>rjw_genes_special</displayCategory>
|
||||
<geneClass>RJW_Genes.Gene_Aphrodisiac_Pheromones</geneClass>
|
||||
<description>Carriers of this gene create an aphrodisiac pheremones which induce an increased sexdrive to others nearby, increasing in strength as the sexdrive of the carrier increases.\nCarriers are unaffected by others with this gene.</description>
|
||||
<iconPath>UI/Memes/FleshPurity</iconPath>
|
||||
<description>Carriers of this gene create an aphrodisiac pheremones which induce an increased sexdrive to others nearby, increasing in strength as the sexdrive of the carrier increases.\n\nCarriers are unaffected by others with this gene.</description>
|
||||
<iconPath>Things/Mote/Heart</iconPath>
|
||||
<displayOrderInCategory>2</displayOrderInCategory>
|
||||
<biostatCpx>1</biostatCpx>
|
||||
<biostatMet>1</biostatMet>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<maxSeverity>1.0</maxSeverity>
|
||||
<comps>
|
||||
<li Class="HediffCompProperties_SeverityPerDay">
|
||||
<severityPerDay>-4.0</severityPerDay>
|
||||
<severityPerDay>-24.0</severityPerDay>
|
||||
</li>
|
||||
</comps>
|
||||
<stages>
|
||||
|
@ -86,24 +86,4 @@
|
|||
</li>
|
||||
</stages>
|
||||
</HediffDef>
|
||||
|
||||
<HediffDef>
|
||||
<defName>rjw_genes_sexually_exhausted</defName>
|
||||
<hediffClass>HediffWithComps</hediffClass>
|
||||
<label>Exhausted</label>
|
||||
<description>Has been exhaused due to sexual activities and needs a little break before being able to stand up again.\n\nWill remove submitting hediff.</description>
|
||||
<defaultLabelColor>(1,1,1)</defaultLabelColor>
|
||||
<stages>
|
||||
<li>
|
||||
<becomeVisible>true</becomeVisible>
|
||||
</li>
|
||||
</stages>
|
||||
<comps>
|
||||
<li Class="HediffCompProperties_Disappears">
|
||||
<disappearsAfterTicks>300~900</disappearsAfterTicks>
|
||||
<showRemainingTime>true</showRemainingTime>
|
||||
</li>
|
||||
<li Class="RJW_Genes.HediffCompProperties_RemoveSubmit"/>
|
||||
</comps>
|
||||
</HediffDef>
|
||||
</Defs>
|
|
@ -15,4 +15,19 @@
|
|||
</li>
|
||||
</stages>
|
||||
</ThoughtDef>
|
||||
|
||||
<ThoughtDef>
|
||||
<defName>rjw_genes_seduced</defName>
|
||||
<thoughtClass>Thought_Memory</thoughtClass>
|
||||
<durationDays>10.0</durationDays>
|
||||
<stackLimit>100</stackLimit>
|
||||
<stackedEffectMultiplier>0.4</stackedEffectMultiplier>
|
||||
<stages>
|
||||
<li>
|
||||
<label>seduced</label>
|
||||
<description>I was seduced into having sex. I regrett what happened.</description>
|
||||
<baseMoodEffect>-10</baseMoodEffect>
|
||||
</li>
|
||||
</stages>
|
||||
</ThoughtDef>
|
||||
</Defs>
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace RJW_BGS
|
|||
{
|
||||
__result.AddGene(gene);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Verse;
|
||||
using RimWorld;
|
||||
namespace RJW_Genes
|
||||
{
|
||||
public class HediffCompProperties_RemoveSubmit :HediffCompProperties
|
||||
{
|
||||
|
||||
public HediffCompProperties_RemoveSubmit()
|
||||
{
|
||||
this.compClass = typeof(HediffComp_RemoveSubmit);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Verse;
|
||||
using RimWorld;
|
||||
using rjw;
|
||||
namespace RJW_Genes
|
||||
{
|
||||
public class HediffComp_RemoveSubmit : HediffComp
|
||||
{
|
||||
public HediffCompProperties_RemoveSubmit Props
|
||||
{
|
||||
get
|
||||
{
|
||||
return (HediffCompProperties_RemoveSubmit)this.props;
|
||||
}
|
||||
}
|
||||
|
||||
public override void CompPostPostRemoved()
|
||||
{
|
||||
base.CompPostPostRemoved();
|
||||
HediffWithComps submitting = this.Pawn.health.hediffSet.GetFirstHediffOfDef(xxx.submitting) as HediffWithComps;
|
||||
submitting.CurStage.becomeVisible = false;
|
||||
if (submitting != null)
|
||||
{
|
||||
foreach (HediffComp comp in submitting.comps)
|
||||
{
|
||||
HediffComp_Disappears hediffComp = comp as HediffComp_Disappears;
|
||||
if (hediffComp != null)
|
||||
{
|
||||
hediffComp.ticksToDisappear = 1;
|
||||
//pawn.health.RemoveHediff(submitting);
|
||||
//removing the hediff directly gives an error, ArgementOutOrRange, making the remaining time 1 ticks should have the same effect without the error
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -38,6 +38,7 @@ namespace RJW_Genes
|
|||
if(partner != null)
|
||||
{
|
||||
partner.drafter.Drafted = false;
|
||||
this.pawn.needs.mood.thoughts.memories.TryGainMemory(ThoughtDefOf.rjw_genes_seduced, partner, null);
|
||||
Job newJob = JobMaker.MakeJob(JobDefOf.sex_on_spot, pawn);
|
||||
partner.jobs.StartJob(newJob, JobCondition.InterruptForced, null, false, true, null, null, false, false, null, false, true);
|
||||
}
|
||||
|
|
|
@ -14,6 +14,5 @@ namespace RJW_Genes
|
|||
public static readonly HediffDef Aphrodisiac_Pheromone;
|
||||
public static readonly HediffDef Fertilin_Lost;
|
||||
public static readonly HediffDef Succubus_Drained;
|
||||
public static readonly HediffDef rjw_genes_sexually_exhausted;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -120,8 +120,6 @@
|
|||
<Compile Include="Genes\Life_Force\CompAbilityEffect_CockEater.cs" />
|
||||
<Compile Include="Genes\Life_Force\CompProperties_Seduce.cs" />
|
||||
<Compile Include="Genes\Life_Force\CompProperties_AbilityCockEater.cs" />
|
||||
<Compile Include="Genes\Life_Force\HediffCompProperties_RemoveSubmit.cs" />
|
||||
<Compile Include="Genes\Life_Force\HediffComp_RemoveSubmit.cs" />
|
||||
<Compile Include="Genes\Life_Force\IngestionOutcomeDoer_LifeForceOffset.cs" />
|
||||
<Compile Include="Genes\Life_Force\JobDriver_SexOnSpotReceiver.cs" />
|
||||
<Compile Include="Genes\Life_Force\JobDriver_SexOnSpot.cs" />
|
||||
|
|
|
@ -11,5 +11,6 @@ namespace RJW_Genes
|
|||
public static class ThoughtDefOf
|
||||
{
|
||||
public static readonly ThoughtDef rjw_genes_cock_eaten;
|
||||
public static readonly ThoughtDef rjw_genes_seduced;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue